fork download
  1.  
  2. USING: io kernel math math.parser ;
  3.  
  4. readln string>number
  5.  
  6. dup ( x -- x x )
  7. dup ( x -- x x )
  8. *
  9. 3
  10. *
  11. -
  12.  
  13. number>string print
Success #stdin #stdout 0.18s 163968KB
stdin
3
stdout
-24