The Fruit of Knowledge - Revised Version

1

1 votes
Very-Easy
Problem

Abishek and Kannan went to a nearby shop to buy a new JIO, unfortunately the shop keeper had only one JIO sim. Both of them wanted it so badly. In order to resolve the conflict, The shopkeeper said whoever comes AROUND THE WORLD first get's the new JIO. Assume that the world is a perfect sphere. Given the radius of the world, calculate the distance to be traveled by Abishek or Kannan inorder to get the JIO first.

Note: The shop is located in the Equator

Constrains

1 <= T <= 1000

1 <= Fi <= 1000

Input Format

First line of every input is an Integer, T - Representing number of Test Cases

The next T lines contains a floating point value Fi - Representing the Radius of the World

Output Format

T lines, where each line displays the Total distanced to be traveled, rounded off to 2 decimal places

Note

Use Pi = 22/7

Sample Input
6
7.0
8.0
9.0
10.0
11.0
12.0
Sample Output
44.00
50.29
56.57
62.86
69.14
75.43
Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?