using System;
public class Program
{
public static void Main()
int total = 100;
int count = 0;
for (int i = 0; i <= total / 2; i++)
for (int j = 0; j <= total / 5; j++)
for (int k = 0; k <= total / 20; k++)
for (int l = 0; l <= total / 50; l++)
if (i * 2 + j * 5 + k * 20 + l * 50 == total)
count++;
}
Console.WriteLine( count);