Consider the following increasing sequence, , of rational numbers:
is composed of an infinite set of blocks, , where block is i,;; i+1/i,;; i+2/i,;; \ldots, ;; i+(i-1)/i . So , etc. Write a program which takes as input an integer and outputs .
输入格式
Input is a single line containing an integer, ().
输出格式
Output as a single integer if the answer is a whole number. Otherwise, output the integer part, a single space and a proper fraction in lowest terms (i.e. and ). See the sample outputs.