x=int(input())y=int(input())if x > 0 and y > 0: C= x // y r = x % y print(C,"r", r)
9 4
2 r 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!