Олимпиадный тренинг

Задача 23576. End row of numbers - 1


Задача

Темы: Цикл for
Given a natural number N. Write a program that calculates the first N factors of the following expression:
\(P = {2 \over 3}\cdot{4 \over 5}\cdot{6 \over 7}\ cdot ... \cdot {{2 \cdot N} \over {2\cdot N +1}}\)

Input
The input is a natural number N.

Imprint
Output the answer to the problem
 

 

Examples
# Input Output
1 42 0.135542