#include<bits/stdc++.h> using namespace std; int main(){ int a,n,sn; cin>>a>>n; for(int i=0;i<n;i++){ sn=a*10+a+a; } cout<<sn; return 0; }