#C8726. Performance Score Calculation

    ID: 52740 Type: Default 1000ms 256MiB

Performance Score Calculation

Performance Score Calculation

You are given T test cases. In each test case a player’s performance is measured by their lap times in three separate laps: X, Y, and Z. The performance score for a test case is defined as the smallest lap time among the three. Mathematically, the score is given by:

\(score = \min(X, Y, Z)\)

Your task is to compute the performance score for each test case.

inputFormat

The first line of the input contains an integer T indicating the number of test cases. Each of the following T lines contains three space-separated integers X, Y, and Z representing the lap times.

outputFormat

For each test case, output a single line containing the performance score, which is the minimum of the three lap times.

## sample
3
120 135 150
54 54 54
200 180 210
120

54 180

</p>