struct Program
{
static Main(): int
sum: int = 0;
for (i: int in [1..999])
if ((i % 3 == 0) || (i % 5 == 0))
sum = sum + i;
}
Console.PrintLine("%i", sum);
return 0;