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

int main() {
	cout << setfill('0') << setw(4) << 5 << endl << setw(4) << 6 << endl << 6;
	return 0;
}