a=int(input())b=int(input())if a<0: a=-aif b<0: b=-b print(a, b)
3 -3
(3, 3)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!