Common Factors

아직 제출이 없습니다시간 제한1초메모리 제한1024 MB

문제

Everyone likes to share things in common with other people.

Numbers are the same way! Numbers like it when they have a factor in common.

For example, 44 and 66 share a common factor of 22, which gives them something to talk about.

For a given integer nn, we define a function, f(n)f(n), equal to the number of integers in the range [11, nn] that share a common factor greater than 11 with nn.

Furthermore, we can define a second function, g(n)g(n), which characterizes the fraction of numbers that like a given number as follows: g(n)=f(n)ng(n) = \frac{f(n)}{n}.

What we really want to know though, is, for any integer 2kn2 ≤ k ≤ n, what is the maximum value of g(k)g(k)?

입력

The input consists of a single integer nn (2n10182 ≤ n ≤ 10^{18}), the value of nn for the input case.

출력

For the provided test case, output the result as a fraction, in lowest terms, in the form pp/qq where the greatest common divisor of pp and qq is 1.