// NOTE: it is recommended to use this even if you don't understand the following code.

#include <stdio.h>
#include <stdlib.h>
#include <assert.h>

// constraints
#define MAXN 100000

// input data
int N, i;
int J[MAXN];

int main() {
//  uncomment the following lines if you want to read/write from files
//  freopen("input.txt", "r", stdin);
//  freopen("output.txt", "w", stdout);

    assert(1 == scanf("%d", &N));
    for(i=0; i<N; i++)
        assert(1 == scanf("%d", &J[i]));

    // insert your code here
    
    for(i=1; i<=6; i++)
        printf("%d ", 42); // print the result for die i
    printf("\n");
    return 0;
}
