Run ID:78869

提交时间:2024-06-29 11:50:03

#include<iostream> using namespace std; int main(){ int N,M; cin>>N>>M; cout<<(N+M)*2<<" "; cout<<N*M; }