#C3779. Determine the Winner

    ID: 47243 Type: Default 1000ms 256MiB

Determine the Winner

Determine the Winner

In this problem, you are given an array of integers and a threshold value \( t \). John wins if there exists at least one element \( x \) in the array such that \( x \ge t \); otherwise, Mike wins.

Mathematically, John wins if \( \exists x \in \text{array} \text{ such that } x \ge t \). Your task is to determine the winner based on the given conditions.

inputFormat

The first line contains two space-separated integers \( n \) and \( t \), where \( n \) is the number of elements in the array and \( t \) is the threshold.

The second line contains \( n \) space-separated integers representing the elements of the array.

outputFormat

Output a single line containing "John" if John wins the game, otherwise output "Mike".

## sample
5 3
4 2 3 1 5
John

</p>