# 과정을 보여주는 거고.. h = int(input()) w = int(input()) print( h*w ) # 더 짧게는 이렇게 해두 된다 print( int(input()) * int(input()))