14993 - The Lucky Draw   

Description

You are playing a fast-paced number card game at a lively tavern. You draw two numbered cards, a and b. Each card contains an integer from 1 to 100. To win the pot, your hand must be considered lucky.

The dealer will declare your hand lucky if it satisfies either of these two rules:

  • The sum of the two cards a and b is a multiple of 10, and the first card is larger than the second.
  • The product of the two cards is less than 100, and the first card is greater than the second by more than 5.

Given the values of your two cards, write a program to determine if you have a winning hand.

Input

Two positive integers, a and b, provided on separate lines.

1 <= a, b <= 100

Output

If your hand satisfies at least one of the dealer's rules, print "Lucky!".

If you lose the round, print "Unlucky!".

Sample Input  Download

Sample Output  Download




Discuss