#region ccfuncs import strutils type TypeInt = typedesc[int] proc read(a: TypeInt, b: TypeInt): (int, int) {.used.} = let data = stdin.readLine.split (data[0].parseInt, data[1].parseInt) proc answer(n: int) {.used.} = echo n #endregion let (a, b) = read(int, int) answer: (a or b) + (a and b)