function split (inputstr, sep) if sep == nil then sep = "%s" end local t={} for str in string.gmatch(inputstr, "([^"..sep.."]+)") do table.insert(t, str) end return t end inp1 = split(io.read(),' ') inp2 = io.read() A = inp1[1] B = inp1[2] N = A + B print(N,' ',inp2)