/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
Pattern regex = Pattern.compile("@(\\d+)&");
Matcher matcher = regex.matcher(x);
while (matcher.find()) {
String resultado
= matcher.
group(1); System.
out.
println(resultado
); }
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnV0aWwucmVnZXguTWF0Y2hlcjsKaW1wb3J0IGphdmEudXRpbC5yZWdleC5QYXR0ZXJuOwoKLyogTmFtZSBvZiB0aGUgY2xhc3MgaGFzIHRvIGJlICJNYWluIiBvbmx5IGlmIHRoZSBjbGFzcyBpcyBwdWJsaWMuICovCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlTdHJpbmcgeCA9ICJANjQ2NjQ2JiI7CgoJCVBhdHRlcm4gcmVnZXggPSBQYXR0ZXJuLmNvbXBpbGUoIkAoXFxkKykmIik7CgkJTWF0Y2hlciBtYXRjaGVyID0gcmVnZXgubWF0Y2hlcih4KTsKCgkJd2hpbGUgKG1hdGNoZXIuZmluZCgpKSB7CgkJCVN0cmluZyByZXN1bHRhZG8gPSBtYXRjaGVyLmdyb3VwKDEpOwoJCQlTeXN0ZW0ub3V0LnByaW50bG4ocmVzdWx0YWRvKTsKCQl9Cgl9Cn0=