using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoder_83 { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); string ans; if (n % 2 == 0) { ans = "1"; } else { ans = "7"; } int keta = n / 2; for (int i = 0; i < keta - 1; i++) { ans += 1; } Console.WriteLine(ans); Console.ReadLine(); } } }