using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication20
{
class Program
{
static void Main(string[] args)
{ int say,tpl=0;
for (say = 1; say < 11; say++)
{
tpl += say*say;
}
Console.WriteLine(tpl);
Console.ReadLine();
}
}
}