#include <iostream>
using namespace std;

int main() {
	int i = 0;
cout << i << endl << i++ << endl << ++i;
	return 0;
}