Accept a positive integer n as input and find all the solutions to the equation
x**2 + y**2 == z**2 subject to the following constraints:
x, y and z are positive integersx < y < z < nInput
A single line containing the positive integer n.
Output
Print each solution triplet on one line as x,y,z, with a comma between
consecutive integers and no spaces. The triplets must be printed in ascending
order: compare two triplets by x first, then by y, then by z. If there is no
solution satisfying the given constraints, print the string NO SOLUTION.
For example, if the input is 13, the output is:
3,4,5
6,8,10
Write a complete program: read the input with input() and print the result with print().
Input
13
Output
3,4,5
6,8,10