lines = readlines

lines.each{|line|
    a,op,b = line.split
    a = a.to_i
    b = b.to_i
    
    case op
    when '+' then
        puts (a+b).to_s
    when '-' then
        puts (a-b).to_s
    when '*' then
        puts (a*b).to_s
    when '/' then
        puts (a/b).to_s
    end
}
