#C8259. Analyze the Fastest Swim Lap

    ID: 52221 Type: Default 1000ms 256MiB

Analyze the Fastest Swim Lap

Analyze the Fastest Swim Lap

Given the number of lap times and a list of lap times recorded for swimming laps, find the fastest lap time and calculate the speed of that lap using the formula \(speed = \frac{50}{time}\). The input contains an integer \(n\) and a sequence of \(n\) floating-point numbers. Both the fastest lap time and the corresponding speed should be rounded to two decimal places.

inputFormat

The first line of input contains an integer \(n\) representing the number of lap times. The second line contains \(n\) floating-point numbers separated by spaces, representing the lap times in seconds.

outputFormat

Output the fastest lap time and its corresponding speed in meters per second, rounded to two decimal places, separated by a space.

## sample
5
50.25 47.80 49.00 46.50 48.30
46.50 1.08