#include using namespace std; #include using namespace atcoder; using ll=long long; using Graph=vector>; #define MAX 2000000 #define MOD 1000000007 #define INF 1000000000 int main(){ int N,K; cin>>N>>K; cout<<2*K+N-2<<" "<<2*K; for(int i=0;i