#!/usr/bin/python3
import random
number = random.randint(-10000, 10000)
if number < 0:
    ln = (number * -1) % 10 * -1
else:
    ln = number % 10
if ln > 5:
    print("Last digit of", number, "is", ln, "and is greater than 5")
elif ln == 0:
    print("Last digit of", number, "is", ln, "and is 0")
elif ln < 6 and ln != 0:
    print("Last digit of", number, "is", ln, "and is less than 6 and not 0")
