8 lines
286 B
Mojo
8 lines
286 B
Mojo
# probe: does input() read one line per call? (on a terminal, yes; on piped input the first call takes every line and the second raises EOF, which is what godbolt shows)
|
|
# stdin: 42\nhello\n
|
|
def main() raises:
|
|
var a = input()
|
|
var b = input()
|
|
print(atol(a) + 1)
|
|
print(b)
|