Game
时间限制:C/C++/Rust/Pascal 2秒,其他语言4秒
空间限制:C/C++/Rust/Pascal 1024 M,其他语言2048 M
64bit IO Format: %lld

题目描述

Wowo is playing an interesting game. Initially, there are numbers .

For each round, if there is more than one remaining number, Wowo will choose two numbers from them with equal probability. If are coprime, Wowo will get 1 point. Then, will be deleted.

The game continues until there are less than two numbers.

Please calculate the expectation of the points Wowo can get from the game.

输入描述:

The only line contains one integer .

输出描述:

Output one number  -- the expectation of the points Wowo can get from the game.
should be coprime.
示例1

输入

复制
2

输出

复制
1/1
示例2

输入

复制
4

输出

复制
5/3