fork download
  1. USING: io kernel math math.parser ;
  2.  
  3. readln string>number
  4. dup
  5. dup
  6. 3
  7. *
  8. *
  9. swap
  10. -
  11. 2
  12. swap
  13. /
  14. number>string print
  15.  
Success #stdin #stdout 0.19s 163968KB
stdin
10
stdout
1/145