import java.util.*;
import java.util.regex.*;
import java.lang.*;
class Main
{
{
Pattern p = Pattern.compile("<([^@]*)@");
Matcher m = p.matcher("<1001@10.2.2.1>");
if (m.find()) {
System.
out.
println(m.
group(1)); }
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS51dGlsLnJlZ2V4Lio7CmltcG9ydCBqYXZhLmxhbmcuKjsKCmNsYXNzIE1haW4KewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJUGF0dGVybiBwID0gUGF0dGVybi5jb21waWxlKCI8KFteQF0qKUAiKTsKICAgICAgICBNYXRjaGVyIG0gPSBwLm1hdGNoZXIoIjwxMDAxQDEwLjIuMi4xPiIpOwogICAgICAgIGlmIChtLmZpbmQoKSkgewogICAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4obS5ncm91cCgxKSk7CiAgICAgICAgfQoJfQp9