using System; using System.Collections.Generic; using System.Linq; public class Program{ public static void Main(){ var n = int.Parse(Console.ReadLine()); var a = (n/6)*3; var b = 0; n -= a*2; if(n == 1){ a--; b++; } else if(n == 3){ b++; } else if(n == 5){ a++; b++; } else{ a += n/2; } for(var i=0;i