Roaming Romans

Time limit1sMemory limit128 MB

Problem

The English word “mile” comes from the Latin “mille passus”, meaning “a thousand paces”. A Roman mile was the distance a soldier walked in 1000 paces (a pace is two steps, one with each foot).

Over time, the actual distance called a “mile” has changed. The modern English mile is 5280 (modern) feet, while the Roman mile is believed to have been about 4854 (modern) feet.

Write a program that converts distances given in English miles into Roman miles and paces. That is, a distance of $X$ English miles equals $Y = X \times \dfrac{5280}{4854}$ Roman miles, and the number of paces is $Y \times 1000$ rounded to the nearest integer.

Input

The input consists of one or more lines, each containing a single positive floating-point number: a distance in English miles. A value of $0.0$ marks the end of the input.

Output

For each input value, print one line in the form

X English miles equals Y Roman miles or K paces.

where $X$ is the input value and $Y$ is the equivalent distance in Roman miles, each printed to $2$ decimal places. $K$ is an integer, the number of paces, rounded to the nearest integer.