using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoderTest { class Program { static void Main(string[] args) { string input = Console.ReadLine(); long ban = long.Parse(input); long pluspage = ban * 52; long totalpage = 316 + pluspage; Console.WriteLine(totalpage); } } }