import java.util.*;
import java.util.regex.*;
import java.lang.*;
class Main
{
{
Pattern p = Pattern.compile("Page (\\d+) of (\\d+)");
String text
= "Page 14 of 203"; Matcher m = p.matcher(text);
if (m.find()) {
System.
out.
println(m.
group(1)); System.
out.
println(m.
group(2)); }
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS51dGlsLnJlZ2V4Lio7CmltcG9ydCBqYXZhLmxhbmcuKjsKCmNsYXNzIE1haW4KewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CiAgICBQYXR0ZXJuIHAgPSBQYXR0ZXJuLmNvbXBpbGUoIlBhZ2UgKFxcZCspIG9mIChcXGQrKSIpOwogICAgU3RyaW5nIHRleHQgPSAiUGFnZSAxNCBvZiAyMDMiOwogICAgTWF0Y2hlciBtID0gcC5tYXRjaGVyKHRleHQpOwogICAgaWYgKG0uZmluZCgpKSB7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKG0uZ3JvdXAoMSkpOwogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihtLmdyb3VwKDIpKTsKICAgIH0KCX0KfQ==