3 # This file is part of NIT ( http://www.nitlanguage.org ).
4 # This program is public domain
7 # SEE: <http://rosettacode.org/wiki/A%2BB>
9 # Generic non-robust version.
12 var words
= gets
.split
(" ")
13 if words
.length
!= 2 then
14 print
"Expected two numbers"
17 print words
[0].to_i
+ words
[1].to_i