number = [1, 6 , 8 , 1 , 2 , 1 , 5 , 6]
# Write a program to count number occurrences in a list with count()

# a = input("enter your number")
# occurrences = number.count(1)
# print(a , "appear" , occurrences , "times in my list",)

# without count
a = input("enter your number")
number_occurrences = int(0)
for x in number :
    if x == a :
        print(x)
   

    