Run ID:2371

提交时间:2023-12-24 09:47:49

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