gets;p $_.split.map(&:to_i).inject(:^)