using System;
namespace MyCompiler {
class Program {
public static void Main(string[] args) {
int a = int.Parse(Console.ReadLine());
for (int i = 1; i <= a; i++) {
for (int j = i; j <= a; j++) {
for (int k = j; k <= a; k++) {
if (i*i + j*j == k*k && (i%2 == 1 && j%2 == 1 && k%2 == 1)) {
Console.WriteLine(i + " " + j + " " + k);
}
}
}
}
}
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: