from math import hypot as fa, b = map(float, input('a b: ').split())print('Площадь: ', a*b/2, '\nПериметр:', a+b+f(a,b))