#Write a program that asks to the user for apples or oranges

# If apples, asks for Golden or Fuji varieties
# If oranges, asks for “to eat” or “to squeeze”
# Given one of these 4 possible choices (2 fruits x 2 varieties), 
# prints the corresponding price (or an error message
# in case of a wrong selection)


print("-"*40)
print("-"*40)

scelta = int(input("what do you prefer? [1]-apple [2]-orange \n"))
if scelta == 1:
    scelta2 = int(input("[1]-Golden [2]-Fuji\n"))
    if scelta == 1:
        print("it costs  4 thousand each one")
    else:
        print("it costs 89 thounsand each one")
elif scelta == 2:
    scelta2 = int(input("[1]-To eat [2]-To squeeze\n"))
    if scelta == 1:
        print("it costs  48987 thousand each one")
    else:
        print("it costs 100009 thounsand each one")
else:
    print("you can choose only between 1 and 2. try again\n")

