# https://open.kattis.com/problems/buka
# 1s
# 2.0 Easy

# 35 chars
p eval(readlines.join.tr("\n"," "))

# 37 chars
# p eval(readlines.join.gsub("\n"," "))


# 39 chars not short enough for Top 10 (18..32)
# The 18 char solution is a Ruby program...
# p eval((gets+gets+gets).gsub("\n"," "))
