Question
Who Prefers the Number?

In a distant village, three friends - Liam, Max, and Noah - each have a unique preference for numbers.

  • Liam loves even numbers that are multiples of 7.
  • Max is drawn to odd numbers that are multiples of 9.
  • Noah prefers any number that doesn’t fit either Liam’s or Max’s tastes.
Given a number n, can you determine who in the village would like it best: Liam, Max, or Noah?
Input
The first line of the input contains a single integer n.

Constraints
1 ≤ n ≤ 100
Output
Print Liam if n prefer by Liam, Max if n prefer by Max, Noah if n prefer by Noah.
Example
Sample Input
14
Sample Output
Liam
Explanation
14 is even as well as multiple of 7.

Online