USING: io kernel math math.parser ; readln string>number5 >[ "1" ][ "0" ]ifprint
6
1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!