Catching Their Flights

View as PDF

Submit solution

Points: 0 (partial)
Time limit: 2.0s
Memory limit: 256M

Author:
Problem type

It's nearly time for World Team Finals and ICPC teams from around the globe are looking to book their flights! Each team has a different target location. It is your job to determine for each team from where they should start their flight and to inform them each of the distance that their flight will take.

Note: In this problem we assume the Earth is a perfect sphere with circumference 40,000 km.

Input

The input will consist of one string s, the location the current team wishes to travel to.

It is guaranteed that s \in \{\text{London}, \text{Ontario}\}.

Output

The output will consist of two lines.

On the first line, output the IATA Code of the chosen initial airport.

On the second line, output a single number - the distance to the goal airport. Your answer will be accepted if it has an absolute error from the true distance of at most 25.


Comments

There are no comments at the moment.