eolymp
Problems

Perimeter and area

published at 5/3/22, 12:26:04 pm

include <iostream>

using namespace std;

int main() { long long a,b,c; cin>>a>>b>>c; cout<<2*(a+b)<<" "<<a*b;

return 0;

}