#include #include #include #include using namespace std; // #define debug(x) cout<<"[debug]"#x<<"="< pii; const ld eps=1e-8; const int INF=0x3f3f3f3f,mod=998244353; #ifndef ONLINE_JUDGE #define debug(...) #include #else #define debug(...) #endif int main() { string s; string t; int n; cin>>s>>t>>n; string res=s; while(n--) { res+='_'; res+=t; } cout<