#include <iostream>
#include <math.h>
using namespace std;
int main()
{
int a, b, c, S;
cout << "Vvedite chislo a: ";
cin >> a;
cout << "Vvedite chislo b: ";
cin >> b;
c=sqrt(pow(a, 2)+pow(b, 2));
S=1/2*a*b;
cout << "Gipotenuza: " << c << "\n" << "Plosad: " << S;
return 0;
}