#include <iostream.h>
int main()
{
int tool, arz;
int mohit, masahat;
cout << "tool va arz raa vared konid:";
cin >> tool >> arz;
mohit = (tool + arz) * 2;
masahat = tool * arz;
cout << "mohit=" << mohit << "\n";
cout << "masahat=" << masahat << "\n";
return 0;
}