#C1298. Evaluate Sales Targets

    ID: 42466 Type: Default 1000ms 256MiB

Evaluate Sales Targets

Evaluate Sales Targets

You are given the sales performance of several employees. For each employee, the input provides the employee's name, the actual sales made, and the sales target. Your task is to evaluate whether each employee has met or missed their target based on the condition that if the sales are greater than or equal to the target, the employee has "met target", otherwise "missed target".

Note: If there are no employees, your program should output nothing.

inputFormat

The first line of the input contains an integer N representing the number of employees. Each of the following N lines contains an employee's name (a string without spaces), an integer representing the sales, and an integer representing the target, all separated by spaces.

outputFormat

For each employee, output a line containing the employee's name followed by a space and the evaluation result. The result is 'met target' if the sales are greater than or equal to the target, otherwise it is 'missed target'.## sample

3
Alice 300 250
Bob 250 250
Charlie 400 300
Alice met target

Bob met target Charlie met target

</p>