import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
class Ideone
{
{
Matcher m = Pattern.compile("([a-z])([0-9]+)").matcher(s);
while (m.find()) {
m.
appendReplacement(sb, s_repeat
(m.
group(1),
Integer.
parseInt(m.
group(2)))); }
m.appendTail(sb);
System.
out.
println(sb.
toString()); }
StringBuilder sb = new StringBuilder();
for(int i = 0; i < count; i++){
sb.append(string);
}
return sb.toString();
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnV0aWwucmVnZXguTWF0Y2hlcjsKaW1wb3J0IGphdmEudXRpbC5yZWdleC5QYXR0ZXJuOwogCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlTdHJpbmcgcyA9ICJoM2p2MjhzZiI7CgkJTWF0Y2hlciBtID0gUGF0dGVybi5jb21waWxlKCIoW2Etel0pKFswLTldKykiKS5tYXRjaGVyKHMpOwoJCVN0cmluZ0J1ZmZlciBzYiA9IG5ldyBTdHJpbmdCdWZmZXIoKTsKCQl3aGlsZSAobS5maW5kKCkpIHsKCQkJbS5hcHBlbmRSZXBsYWNlbWVudChzYiwgc19yZXBlYXQobS5ncm91cCgxKSwgSW50ZWdlci5wYXJzZUludChtLmdyb3VwKDIpKSkpOwoJCX0KCQltLmFwcGVuZFRhaWwoc2IpOwoJCVN5c3RlbS5vdXQucHJpbnRsbihzYi50b1N0cmluZygpKTsKCX0KCglwcml2YXRlIHN0YXRpYyBTdHJpbmcgc19yZXBlYXQoU3RyaW5nIHN0cmluZywgaW50IGNvdW50KSB7CgkJU3RyaW5nQnVpbGRlciBzYiA9IG5ldyBTdHJpbmdCdWlsZGVyKCk7CgkJZm9yKGludCBpID0gMDsgaSA8IGNvdW50OyBpKyspewoJCQlzYi5hcHBlbmQoc3RyaW5nKTsKCQl9CgkgICAgcmV0dXJuIHNiLnRvU3RyaW5nKCk7Cgl9Cn0=