readln string>number iota 0 [ drop readln string>number + ] reduce 42 = [ "YES" ] [ "NO" ] if print
40 2
./prog.factor 1: readln string>number iota ^ No word named “readln” found in current vocabulary search path
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!