#include <stdio.h>
int main (void) {
char i;
for (i = 0; ; i = ~i) printf("%d\n", i);
return 0;
}