Run ID:133665

提交时间:2025-10-20 16:45:24

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