N = int(input())
M = int(input())
x = M - 500
y = M - 400
z = M - 300

if (N == 1):
    print("Americano")
    print(str(x // 500) + " " + str((x % 500) // 100))
elif (N == 2):
    print("Cafe Latte")
    print(str(y // 500) + " " + str((y % 500) // 100))
elif (N == 3):
    print("Lemon Tea")
    print(str(z // 500) + " " + str((z % 500) // 100))

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: