#include <stdio.h>
int main(){
    freopen("assign.in","r",stdin);
    freopen("assign.out","w",stdout);

    int T;
    scanf("%d",&T);
    while(T-- > 0)
    {
        printf("0\n");
    }

    fclose(stdin);
    fclose(stdout);
    return 0;
}