本来以为很简单的,哎

a = list(input(''))

b = input('')

c = input('')

d=['','']

e=0 
 
for i in range(0, len(a)): 
    if a[i] != ' 'or'':
        d[e]+=a[i]
        
    else:
        e+=1
        continue
        
print(int(d[0]) * int(d[1]))

if int(b) ** 2 * 3.14 != int(int(b) ** 2 * 3.14):
 
    print(int(b) ** 2 * 3.14)
    
else:

    print(int(int(b) ** 2 * 3.14))
print(int(c) ** 2)