#include <iostream>
#include <cstdlib>
#include <fstream>
#include <string>
using namespace std;
void apaga_espaco(ifstream& tabe) {
string s;
char N;
while (tabe.good()) {
getline(tabe, s);
s.erase(0, 29);
N = s.find(':');
s.erase(0, N + 6);
}
}
int main() {
ifstream tabe;
char N;
tabe.open("Tabela.txt", ios::in);
if (!tabe.is_open()) {
cout << "Arquivo nao encontrado, erro fatal!";
exit(1);
}
apaga_espaco(tabe);
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y3N0ZGxpYj4KI2luY2x1ZGUgPGZzdHJlYW0+CiNpbmNsdWRlIDxzdHJpbmc+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgp2b2lkIGFwYWdhX2VzcGFjbyhpZnN0cmVhbSYgdGFiZSkgewogICAgc3RyaW5nIHM7CiAgICBjaGFyIE47CiAgICB3aGlsZSAodGFiZS5nb29kKCkpIHsKICAgICAgICBnZXRsaW5lKHRhYmUsIHMpOwogICAgICAgIHMuZXJhc2UoMCwgMjkpOwogICAgICAgIE4gPSBzLmZpbmQoJzonKTsKICAgICAgICBzLmVyYXNlKDAsIE4gKyA2KTsKICAgIH0KfQoKaW50IG1haW4oKSB7CiAgICBpZnN0cmVhbSB0YWJlOwogICAgY2hhciBOOwoKICAgIHRhYmUub3BlbigiVGFiZWxhLnR4dCIsIGlvczo6aW4pOwogICAgaWYgKCF0YWJlLmlzX29wZW4oKSkgewogICAgICAgIGNvdXQgPDwgIkFycXVpdm8gbmFvIGVuY29udHJhZG8sIGVycm8gZmF0YWwhIjsKICAgICAgICBleGl0KDEpOwogICAgfQogICAgYXBhZ2FfZXNwYWNvKHRhYmUpOwp9