Run ID:90939
提交时间:2024-09-20 13:56:40
#include <bits/stdc++.h> using namespace std; int main(){ int N,M; cin>>N>>M; cout<<2*(N+M)<<" "<<N*M; }