#include using namespace std; using ll = long long; #define rep(i,m,n) for(int i=m; i> S >> T >> N; cout << S; rep(i, 0, N) cout << "_" << T; cout << endl; return 0; }