#include <iostream>
using namespace std;

int main() {
	cout << '9' - '0' << endl;
	cout << '5' - '0' << endl;
	return 0;
}