fork download
  1. USING: io kernel math math.parser ;
  2.  
  3. readln string>number
  4. 42 = [ "1" print ] when
  5.  
Success #stdin #stdout 0.18s 163968KB
stdin
42
stdout
1