#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main() {
string s = "7fb8daa58000-7fb8daa5c000 r--p 0002a000 103:02 153417 /usr/lib/x86_64-linux-gnu/libtinfo.so.6.2";
unsigned long r1 = strtoul((s.substr(0, s.find('-'))).c_str(), nullptr, 16);
printf("%lx\n", r1);
unsigned long r2 = strtoul((s.substr(s.find('-') + 1, s.find('-'))).c_str(), nullptr, 16);
printf("%lx\n", r2);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewoJc3RyaW5nIHMgPSAiN2ZiOGRhYTU4MDAwLTdmYjhkYWE1YzAwMCByLS1wIDAwMDJhMDAwIDEwMzowMiAxNTM0MTcgICAgICAgICAgICAgICAgICAgIC91c3IvbGliL3g4Nl82NC1saW51eC1nbnUvbGlidGluZm8uc28uNi4yIjsKCXVuc2lnbmVkIGxvbmcgcjEgPSBzdHJ0b3VsKChzLnN1YnN0cigwLCBzLmZpbmQoJy0nKSkpLmNfc3RyKCksIG51bGxwdHIsIDE2KTsKCXByaW50ZigiJWx4XG4iLCByMSk7Cgl1bnNpZ25lZCBsb25nIHIyID0gc3RydG91bCgocy5zdWJzdHIocy5maW5kKCctJykgKyAxLCBzLmZpbmQoJy0nKSkpLmNfc3RyKCksIG51bGxwdHIsIDE2KTsKCXByaW50ZigiJWx4XG4iLCByMik7CglyZXR1cm4gMDsKfQ==