a=int(input())b=int(input())print(a+b)print(a-b)
1 2
3 -1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!