numbers = [1, 6, 8, 1, 2, 1, 5, 6]

number = int(input("program to count number occurrences in a list \n enter a number? "))
print("{0} appears {1} times in my list".format(number, numbers.count(number)))
