#include<iostream>
using namespace std;
int main(){
int total_baris = 0;
while (total_baris < 3) {
cout << total_baris<< endl;
total_baris += 1;
}
}
I2luY2x1ZGU8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbigpewppbnQgdG90YWxfYmFyaXMgPSAwOwp3aGlsZSAodG90YWxfYmFyaXMgPCAzKSB7CiAgICBjb3V0IDw8IHRvdGFsX2JhcmlzPDwgZW5kbDsKICAgIHRvdGFsX2JhcmlzICs9IDE7Cn0KfQo=