# Challenge link: https://www.hackerrank.com/challenges/python-arithmetic-operators/submissions/code/54263953
if __name__ == '__main__':
    a = int(input())
    b = int(input())
    
    sum1 = a + b
    print(sum1)
    
    diff1 = a - b
    print(diff1)
    
    mul1 = a*b
    print(mul1)
