class Program
{
static void Main(string[] args)
{
int o=0;
for (int i = 5; i < 101; i++)//最长边
{
for (int j = 1; j < i; j++)//短边
{
for (int k = 1; k <= j; k++)//最短边
{
if (i * i == j * j + k * k)
{
Console.Write("{0}、{1}、{2}", k, j, i+"\t");
o++;
if (o == 3)
{
Console.WriteLine();
o = 0;
}
}
}
}
}
Console.ReadLine();