func main() var n: int :: cui@inputInt() var ans: []char :: n % 2 = 0 ?("1".repeat(n / 2), "7" ~ "1".repeat(n / 2 - 1)) do cui@print("\{ans}\n") end func