USING: io math math.parser ; readln string>numberreadln string>numbermod number>string print
7 5
2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!