using System;
public class Program
{
public static void Main()
for (var i = 0; i <= 1000; i++)
if (index % 10 == 7)
Console.WriteLine(index);
}