import strutils let n = parseInt stdin.readLine echo: if (n mod 2) == 0: n.succ 4 else: n.pred 7