#include <iostream>
using namespace std;
int main() {
int maior = 0, numero = 0;
while (numero >= 0) {
cin >> numero;
if(numero > maior) {
maior = numero;
cout << "maior ate agora " << maior << endl;
}
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7CglpbnQgbWFpb3IgPSAwLCBudW1lcm8gPSAwOwoJd2hpbGUgKG51bWVybyA+PSAwKSB7CgkgICAgY2luID4+IG51bWVybzsKCSAgICBpZihudW1lcm8gPiBtYWlvcikgewoJICAgIAltYWlvciA9IG51bWVybzsKCSAgICAgICAgY291dCA8PCAibWFpb3IgYXRlIGFnb3JhICIgPDwgbWFpb3IgPDwgZW5kbDsKCSAgICB9Cgl9CglyZXR1cm4gMDsKfQ==