# Horse race
# Edward Freeman

order=int(input("Where did the horse come in? "))

if (order==1):
    print("Your horse won the race")
elif (order==2):
    print("Your horse placed")
elif  (order==3):
    print("Your horse showed")
else:
    print("Out of the money")
