fork download
  1. USING: io math math.parser ;
  2.  
  3. readln string>number
  4. readln string>number
  5. mod number>string print
Success #stdin #stdout 0.18s 163968KB
stdin
7
5
stdout
2