#C1514. Consistently Improving Employees

    ID: 44728 Type: Default 1000ms 256MiB

Consistently Improving Employees

Consistently Improving Employees

You are given a list of employee performance records. Each record consists of an employee ID followed by one or more integer scores representing the performance of the employee over several years, provided in chronological order.

Your task is to identify those employees whose scores exhibit strictly increasing behavior throughout the sequence. Formally, a sequence \(a_1, a_2, \ldots, a_k\) is strictly increasing if \(a_i < a_{i+1}\) for all \(1 \le i < k\). Note that if an employee has only one score, they are considered as consistently improving.

If no employee shows consistent improvement, output an empty line.

inputFormat

The first line of input contains an integer \(n\) representing the number of employees. Each of the following \(n\) lines contains an employee record. A record consists of an employee ID (a string without spaces) followed by one or more space-separated integers representing the employee's performance scores in chronological order.

outputFormat

Print the employee IDs of all employees who have shown consistently improving performance. The IDs should be printed in the same order as they appear in the input, separated by a single space. If no employee meets the criteria, print an empty line.

## sample
3
E01 4 5 6
E02 5 5 7
E03 2 3 4 5 6
E01 E03

</p>