Problem K: 求 n 以内斜边为 c 的勾股数

Problem K: 求 n 以内斜边为 c 的勾股数

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

输入 n,找出所有满足 的勾股数,按 c 从小到大输出。

Input

整数 n

Output

a b c

Sample Input Copy

13

Sample Output Copy

3 4 5
6 8 10
5 12 13