#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(int i=0;i> S >> T >> N; REP(i,N){ S+='_'; S+=T; } cout << S << endl; return 0; }