numbers = g.split[0,1].map(:to_i) p numbers[0] + numbers[1] #Prints the sum of the input