#include <iostream>

using namespace std;

int main()
{
    int x;
    for(int i = 1; i <= 14; i++){
        for(int j = 1; j <= 14; j++){
            cin >> x;
        }
    }
    int ct = 0;
    for(int i = 1; i <= 25; i++){
        cout << ct << " ";
    }
    return 0;
}