#include <iostream>
#include <limits>
using namespace std;

int main() {
	// your code goes here
    unsigned char a = 1;
    a = -a;
    cout << (unsigned)a << '\n' 
            << (unsigned)numeric_limits<decltype(a)>::max();
	return 0;
}