# ### Problem 1
# Ask the user to enter a number. 
# Using the provided list of numbers, use a for loop to iterate the array and print out all the values that are smaller than the user input and print out all the values that are larger than the number entered by the user.

# ```
# # Start with this List
# list_of_many_numbers = [12, 24, 1, 34, 10, 2, 7]

# Example Input/Output if the user enters the number 9:
# ```
# The User entered 9
# 1  2  7 are smaller than 9
# 12  24  34  10 are larger than 9
# ```
userinput= int(input(" Enter a number here: "))# Input from the User
list_of_many_numbers = [12, 24, 1, 34, 10, 2, 7]
# KEY: Didnt print in order like example but code is good and commented
for each in list_of_many_numbers:
    if each > userinput:
        print(f'{each} is great than {userinput} ')
    elif each== userinput:
        print("This number is present in my array") # Equal case addressed
    else:
        print(f'{each} is smaller than {userinput}')
