import strutils, sequtils, algorithm, future, random {.warning[SmallLshouldNotBeUsed]: off.} when isMainModule: var n = stdin.readLine.parseInt while true: var a = random(n) b = n - a if not ('7' in $a or '7' in $b): echo a, " ", b quit()