QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#313136#4833. Tetra-puzzlesocpiteAC ✓334ms6852kbC++145.1kb2024-01-24 16:14:482024-01-24 16:14:48

Judging History

你现在查看的是最新测评结果

  • [2024-01-24 16:14:48]
  • 评测
  • 测评结果:AC
  • 用时:334ms
  • 内存:6852kb
  • [2024-01-24 16:14:48]
  • 提交

answer

#include<bits/stdc++.h>
using namespace std;

typedef array<array<bool, 5>, 5> Board;   

const pair<int, int> mv[4] = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};
const int MAGIC = 100;
const int maxn = 1e3+5; 
const int INF = 1e9;

struct Piece{
    vector<vector<int>> tiles;
    int height, width;
    int rotation_count;
};

int check_bit(int mask, int i, int j){
    return (mask>>(i*5+j))&1;
}

int set_bit(int &mask, int i, int j){
    int pos = i*5 + j;
    if((mask>>pos)&1)return 0;
    mask^=(1<<pos);
    return 1;
}

map<char, Piece> mp;

Piece rotate(Piece& origin){
    Piece new_piece({
        vector<vector<int>>(origin.width, vector<int>(origin.height)),
        origin.width,
        origin.height,
        origin.rotation_count
    });
    for(int i = 0; i < origin.height; i++){
        for(int j = 0; j < origin.width; j++){
            new_piece.tiles[j][origin.height - i - 1] = origin.tiles[i][j]; 
        }
    }
    return new_piece;
}

int eval(int mask){
    if(mask == -1)return INF;
    return __builtin_popcount(mask);
}

void clear_lines(int& mask){
    int clear_row[5] = {1, 1, 1, 1, 1}, clear_column[5] = {1, 1, 1, 1, 1};
    for(int i = 0; i < 5; i++){
        for(int j = 0; j < 5; j++)if(!check_bit(mask, i, j)){
            clear_row[i] = 0;
            clear_column[j] = 0;
        }
    }
    for(int i = 0; i < 5; i++){
        for(int j = 0; j < 5; j++){
            if(clear_row[i] || clear_column[j])mask^=(1<<(i*5+j));
        }
    }
}

pair<int, int> try_fit(int mask, int x, int y, Piece& piece){
    for(int i = 0; i < piece.height; i++){
        for(int j = 0; j < piece.width; j++){
            if(!piece.tiles[i][j])continue;
            if(!set_bit(mask, x+i, y+j))return {-1, -1};
        }
    }
    int old_mask = mask;
    clear_lines(mask);
    return {mask, old_mask};
}

pair<int, int> try_all_fit(int mask, Piece& piece){
    pair<int, int> best_mask = {-1, -1};
    for(int i = 0; i < 5 - piece.height + 1; i++){
        for(int j = 0; j < 5 - piece.width + 1; j++){
            auto new_mask = try_fit(mask, i, j, piece);
            if(eval(new_mask.first) < eval(best_mask.first))best_mask = new_mask;
        }
    }
    return best_mask;
}
  
vector<pair<int, pair<int, char>>> dp[maxn];

map<int, pair<int, char>> prv;

bool cmp(pair<int, pair<int, char>> a, pair<int, pair<int, char>> b){
    return eval(a.first) < eval(b.first);
}

int gen_best_move(int mask, int origin, Piece& piece_1, char id){
    pair<int, int> best_mask = {-1, -1};
    for(int i = 0; i < piece_1.rotation_count; i++){
        pair<int, int> new_mask = try_all_fit(mask, piece_1);
        if(eval(new_mask.first) < eval(best_mask.first))best_mask = new_mask;
        piece_1 = rotate(piece_1);
    }
    if(best_mask.first != -1)prv[best_mask.first] = {origin, id};
    return best_mask.second;
}

int main(){

    mp['I'] = Piece({
        {
            {1, 1, 1, 1}
        },
        1,
        4,
        2
    });

    mp['L'] = Piece({
        {
            {1, 0},
            {1, 0},
            {1, 1}
        },
        3,
        2,
        4
    });

    mp['O'] = Piece({
        {
            {1, 1},
            {1, 1}
        },
        2,
        2,
        1
    });

    mp['T'] = Piece({
        {
            {1, 1, 1},
            {0, 1, 0}
        },
        2,
        3,  
        4
    });

    mp['Z'] = Piece({
        {
            {1, 1, 0},
            {0, 1, 1}
        },
        2,
        3,
        2
    });
    string type;
    cin >> type;
    if(type == "prepare"){
        dp[0].push_back({0, {0, 0}});
        int n;
        cin >> n;
        for(int i = 1; i <= n; i++){
            string options;
            cin >> options;
            prv.clear();
            for(int j = 0; j < dp[i-1].size(); j++){
                gen_best_move(dp[i-1][j].first, j, mp[options[0]], options[0]);
                gen_best_move(dp[i-1][j].first, j, mp[options[1]], options[1]);
            }
            for(auto v: prv){
                dp[i].push_back(v);
            }
            sort(dp[i].begin(), dp[i].end(), cmp);
            while(dp[i].size() > MAGIC)dp[i].pop_back();
        }
        string ans(n, 'a');
        int crr = 0;
        for(int i = n; i > 0; i--){
            ans[i-1] = dp[i][crr].second.second;
            crr = dp[i][crr].second.first;
        }
        cout << ans;
    }
    else {
        int n;
        cin >> n;
        int crr = 0;
        for(int i = 1; i <= n; i++){
            char id;
            cin >> id;
            int new_mask = gen_best_move(crr, 0, mp[id], id);
            for(int j = 0; j < 5; j++){
                for(int k = 0; k < 5; k++){
                    if(check_bit(new_mask, j, k)){
                        if(!check_bit(crr, j, k))cout << '*';
                        else cout << '#';
                    }
                    else cout << '.';
                }
                cout << "\n";
            }
            crr = new_mask;
            clear_lines(crr);
            cout << "\n";
        }
    }
}

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3644kb

First Run Input

prepare
6
TO LO ZI LI LT LT

First Run Output

OOILTT

Second Run Input

play
6
O
O
I
L
T
T

Second Run Output

**...
**...
.....
.....
.....

##**.
##**.
.....
.....
.....

####*
####*
....*
....*
.....

*....
*....
**..#
....#
.....

#....
#..*.
##**#
...*#
.....

#....
#..#.
.....
***##
.*...


result:

ok good job!

Test #2:

score: 100
Accepted
time: 0ms
memory: 3568kb

First Run Input

prepare
1
ZI

First Run Output

I

Second Run Input

play
1
I

Second Run Output

****.
.....
.....
.....
.....


result:

ok good job!

Test #3:

score: 100
Accepted
time: 1ms
memory: 3636kb

First Run Input

prepare
10
LO TZ ZO OI OL ZL ZO TL OZ LO

First Run Output

LTOOLLOLZL

Second Run Input

play
10
L
T
O
O
L
L
O
L
Z
L

Second Run Output

*....
*....
**...
.....
.....

#....
#....
##***
...*.
.....

#**..
#**..
.....
...#.
.....

###**
###**
.....
...#.
.....

*....
*....
**...
...#.
.....

#....
#....
##***
..*#.
.....

#**..
#**..
.....
..##.
.....

###..
###..
*....
*.##.
**...

.##..
.##..
.*...
**##.
*#...

*.#..
*.#..
**...
#.#...

result:

ok good job!

Test #4:

score: 100
Accepted
time: 8ms
memory: 3688kb

First Run Input

prepare
29
ZT OT ZL LT ZI LO IZ LT OI ZT ZT OL ZI LT LZ TZ IL ZI OT LZ LT LZ OT OI IO OZ IZ ZL ZL

First Run Output

TTLTZLZTIZTLILLZLZTLLZTIIOILL

Second Run Input

play
29
T
T
L
T
Z
L
Z
T
I
Z
T
L
I
L
L
Z
L
Z
T
L
L
Z
T
I
I
O
I
L
L

Second Run Output

***..
.*...
.....
.....
.....

###..
.#...
.*...
**...
.*...

#*#..
.*...
.**..
#....
.....

###..
.#...
.##..
#*...
***..

#*#..
**...
*.#..
#....
#.#..

.##..
.#...
**#..
.*...
.*#..

**#..
.**..
#.#..
.....
..#..

###..
.##..
#*#..
.**..
.*#..

#****
.....
#....
.....
.....

**...
.**..
#....
......

result:

ok good job!

Test #5:

score: 100
Accepted
time: 7ms
memory: 3924kb

First Run Input

prepare
36
TI ZT IT IT OT OZ IL TZ ZO LO LZ ZL OT ZI IL OT OT ZI ZT TZ TI LT LO OL IL OL IZ OZ OL ZL LT IO ZO ZL ZO LT

First Run Output

ITTIOOLTOLLLTILOOZTTILLLLLIOLZLOOLOT

Second Run Input

play
36
I
T
T
I
O
O
L
T
O
L
L
L
T
I
L
O
O
Z
T
T
I
L
L
L
L
L
I
O
L
Z
L
O
O
L
O
T

Second Run Output

****.
.....
.....
.....
.....

####*
...**
....*
.....
.....

.....
***##
.*..#
.....
.....

****.
.....
.#..#
.....
.....

####.
..**.
.#**#
.....
.....

####.
..##.
.####
..**.
..**.

##***
..*..
.#..#
.....
.....

***..
.*#..
.#..#
.....
.....

###**
.##**
.#..#
.....
.....

.....
*####
*#..#
**....

result:

ok good job!

Test #6:

score: 100
Accepted
time: 17ms
memory: 3764kb

First Run Input

prepare
57
LT OI TL IZ OT TL LT TI LO LT LO LO OL IO LI IT TZ TZ IO ZT TI OT OI TL TL ZT TZ OL OI LI OZ ZI TO LZ IO IO LT OZ TO OZ IZ TZ LT ZO TO TZ OT LT ZO OL IL LO ZT OZ OL IL ZI

First Run Output

LOTZTTTTLLOLLOLTTTOTTOOTLTTOILZZOLOILOOOZZLZTTOLOLLOTZLII

Second Run Input

play
57
L
O
T
Z
T
T
T
T
L
L
O
L
L
O
L
T
T
T
O
T
T
O
O
T
L
T
T
O
I
L
Z
Z
O
L
O
I
L
O
O
O
Z
Z
L
Z
T
T
O
L
O
L
L
O
T
Z
L
I
I

Second Run Output

*....
*....
**...
.....
.....

#....
#....
##...
**...
**...

***..
.*...
.#...
.#...
.#...

#.#..
**...
.**..
.....
.....

#.#..
##***
.##*.
.....
.....

#.#..
.....
.###.
***..
.*...

#.#..
.....
.###*
###**
.#..*

#.#..
.....
*####
**...
*#..#

#*#..
.*...
.**..
##...
##..#

#.#..
***..
*.#..
#.....

result:

ok good job!

Test #7:

score: 100
Accepted
time: 33ms
memory: 3816kb

First Run Input

prepare
88
ZL OL OT IT LO ZL OI ZT TO OI OL OL LZ ZT TL TZ IO ZL TZ TO IL LO ZT OL LT ZI TZ IL LT ZL OT TI ZO ZO ZT OZ TL TL LO OI TO OZ LI ZO ZT ZT IO IZ OZ ZO ZI ZO IO IO TI OL IL IT IL TL TL ZL IT IT ZO IO OL IL ZI TO OL IL ZI LZ LT IL LI ZO IL TL IT LI ZI OL TO OZ IZ OZ

First Run Output

LOTTLLIZTILLZTLTOLZTIOTLLZTLLZOTZOZZTLLITOIZTZIIOOZOIIIOLILTTLTIZOOIITLLILLLLOLLTLILOOIO

Second Run Input

play
88
L
O
T
T
L
L
I
Z
T
I
L
L
Z
T
L
T
O
L
Z
T
I
O
T
L
L
Z
T
L
L
Z
O
T
Z
O
Z
Z
T
L
L
I
T
O
I
Z
T
Z
I
I
O
O
Z
O
I
I
I
O
L
I
L
T
T
L
T
I
Z
O
O
I
I
T
L
L
I
L
L
L
L
O
L
L
T
L
I
L
O
O
I
O

Second Run Output

*....
*....
**...
.....
.....

#....
#....
##...
**...
**...

***..
.*...
.#...
.#...
.#...

#.#..
***..
.*...
.....
.....

#.#..
###..
*#...
*....
**...

..#..
.##..
.#*..
..*..
.#**.

...*.
.#.*.
.#.*.
...*.
.#.#.

.**..
.#**.
.#...
.....
.#...

.##..
.###.
.#*..
.**..
.#*..

****.
...#.
.....
......

result:

ok good job!

Test #8:

score: 100
Accepted
time: 33ms
memory: 3944kb

First Run Input

prepare
105
LI LI OI TL OZ LZ IL IZ IL TI IL IO OT LT LO ZO LI LZ OI IL ZT IT LZ IZ IZ LI IT LI IO TI ZL OI IT LO TZ OI IL OL IL OT IL OZ LT IO OL OL LO ZO TI LI LI LI ZO ZI LI OL TI TZ LO LT IL LZ IL OL ZT LT IZ IL TZ IT OZ TL ZI IZ IZ TO IT IO TO TI TO TZ ZT IZ LI IL ZI TI TL TZ TO LI LO OL IL IL ...

First Run Output

ILITZLLILTIOTTLZLLIIZILIILTLITZITLZOILITLOTILOLOTILIZILLITOTLLILTLIIZIOLIIITTITTOZZILIIITZTLOLIIZZTLZZIIL

Second Run Input

play
105
I
L
I
T
Z
L
L
I
L
T
I
O
T
T
L
Z
L
L
I
I
Z
I
L
I
I
L
T
L
I
T
Z
I
T
L
Z
O
I
L
I
T
L
O
T
I
L
O
L
O
T
I
L
I
Z
I
L
L
I
T
O
T
L
L
I
L
T
L
I
I
Z
I
O
L
I
I
I
T
T
I
T
T
O
Z
Z
I
L
I
I
I
T
Z
T
L
O
L
I
I
Z
Z
T
L
Z
Z
I
I
L

Second Run Output

****.
.....
.....
.....
.....

####*
..***
.....
.....
.....

****.
..###
.....
.....
.....

####.
..###
..*..
.**..
..*..

##.#.
**.##
.**..
.#...
.....

##.#.
##.##
*##..
*#...
**...

...#.
...##
..#*.
...*.
...**

.....
****#
..#..
.....
....#

*....
*....
**#..
.....
....#

#....
#...*
###**
......

result:

ok good job!

Test #9:

score: 100
Accepted
time: 64ms
memory: 4184kb

First Run Input

prepare
204
TZ TL OL TL ZO OT ZO LI TZ IO TI OL LZ TI TO ZT IL OI LT IT OZ TI OT TI ZL ZI ZO TI OI ZI TL LI ZI IO TI ZL LZ OL ZI TZ OI OI IZ LO IL LO IZ ZT ZT OL ZI OZ TL OI TI IT IZ ZL TI OI LZ OI TZ IZ IO OZ ZI TO OT TI TO IO IZ OI TZ LT TZ ZI OL LO LO OZ LO ZL LZ TZ LT TO OL LO LT TZ TL OZ ZO LO ...

First Run Output

ZTOLZOZLTIIOLIOTIOLIOIOTLZOIIZLIZOILZLZTIOZLLLITTLIOLOIIILIILOTZIOITTTOIIITLTILOLOLLLTLTLLTTTOOLOLIITLOLTOLILOOLZIIOZIOIILTIZTIIZZZLTLILILZLTTLZLTZZOOOZZTZTILOZIZLIZOZZZIOTLZOTZTTILTIIILITZLIZOILLLTTTTTTL

Second Run Input

play
204
Z
T
O
L
Z
O
Z
L
T
I
I
O
L
I
O
T
I
O
L
I
O
I
O
T
L
Z
O
I
I
Z
L
I
Z
O
I
L
Z
L
Z
T
I
O
Z
L
L
L
I
T
T
L
I
O
L
O
I
I
I
L
I
I
L
O
T
Z
I
O
I
T
T
T
O
I
I
I
T
L
T
I
L
O
L
O
L
L
L
T
L
T
L
L
T
T
T
O
O
L
O
L
I
I
T
L
O
L
T
O
L
I
L
O
O
L
Z
I
I
O
Z
I
O
I
I
L
T
I
Z
T
I
I
Z
Z
Z
L
T
L
I
L
I
L
Z
L
T
T
L
Z
L
T...

Second Run Output

**...
.**..
.....
.....
.....

##***
.##*.
.....
.....
.....

.....
.###.
**...
**...
.....

.....
.###.
##***
##*..
.....

.....
.###.
..**.
###**
.....

.....
.###.
**##.
**...
.....

.....
.###.
####*
##.**
...*.

.....
.###.
..***
##*##
...#.

.....
*###.
**###
*....
...#.

.....
####.
.....
#**...

result:

ok good job!

Test #10:

score: 100
Accepted
time: 94ms
memory: 4524kb

First Run Input

prepare
303
ZT ZT IO ZL LT TI LO LZ TI ZT TI ZT LO OZ ZT TL IT TZ ZI IL TL OZ IO OT ZT TI LT ZT ZL ZL IO LZ IZ IZ ZT TZ OT OI LZ IL IZ TL IT ZO TL ZL IZ IZ LO LO ZI TI OT ZT OI IT ZI IL OI TO ZL LI TL LT OI LZ TI TZ OL ZO OZ IL LO ZT ZL IT TO ZI TZ IL IO LO LT IT OL LO ZT OZ OI TI OL OZ ZI IT IO IT ...

First Run Output

TTOZLILZITIZLOTLTZIITZITZILZZZILIIZZOILLZLTOLLIILOZIOZIIILOOLILTIZIZLOZLLZZTOZZLIOTTLLTOIILOZIIIILZLTLLTLLTLIOZLZTZTLZZOILZZZLLOTTIOOIIIIILLOOZITLLLZIZZLOOILLIILTOTTITLLLTILZLLLTIOZZLIIIIIOZOLZLZLOZTITITLTTTTTLLOOLOOOOLOOLTZTTZOLZOIOTLLZTLILOLIOLOITLTLOZTLLZTIIIIILOTLZIIILITLILZITTILOLZIITTIOZTILLZTOLT

Second Run Input

play
303
T
T
O
Z
L
I
L
Z
I
T
I
Z
L
O
T
L
T
Z
I
I
T
Z
I
T
Z
I
L
Z
Z
Z
I
L
I
I
Z
Z
O
I
L
L
Z
L
T
O
L
L
I
I
L
O
Z
I
O
Z
I
I
I
L
O
O
L
I
L
T
I
Z
I
Z
L
O
Z
L
L
Z
Z
T
O
Z
Z
L
I
O
T
T
L
L
T
O
I
I
L
O
Z
I
I
I
I
L
Z
L
T
L
L
T
L
L
T
L
I
O
Z
L
Z
T
Z
T
L
Z
Z
O
I
L
Z
Z
Z
L
L
O
T
T
I
O
O
I
I
I
I
I
L
L
O
O
Z
I
T
L...

Second Run Output

***..
.*...
.....
.....
.....

###..
.#...
.*...
**...
.*...

#.#**
...**
.....
#....
.....

#*###
**.##
*....
#....
.....

..*..
##*##
#.**.
#....
.....

..#..
.....
#.##.
#****
.....

..#..
.*...
#*##.
.**..
.....

..#..
.#...
####*
.##**
...*.

*.#..
*#...
*....
*####
...#.

#.#..
##***
#..*.
......

result:

ok good job!

Test #11:

score: 100
Accepted
time: 160ms
memory: 5136kb

First Run Input

prepare
502
LO LI OZ LO IO ZT LO OZ OZ ZI IO OT ZO LZ IZ ZT TL TL LI IL IZ TO IO IL OL OL OL LO ZI OZ OZ ZO OZ IT OZ LZ TZ TO LZ TL ZL IZ LZ ZO ZL IO IL LI LT ZI OZ IZ OI TZ LI ZT IT LO TO ZI LT OT LZ OI LZ OZ LZ IT TO TI OI TO TO OI TZ ZL IO OZ ZO ZL LZ IZ OI TL TO TI LZ ZL ZL OZ TI ZI TL LO ZT LI ...

First Run Output

LIZOIZOZOIIOZZITTTIIZOOLLLOOIOZOOTOLZTZLLZLOZIIILZZIOTITILTITOLOLZLITIOTTITLIOOLLIILTILLLZIITOTLIITZTTILLIOTLZOLZTIZLZLTLLOTOLOTIIIZLIOOIOLZOZITIOOLLLTLILILZLLLLIILILOTLZLTOILZIOLTLTITOLLITZTLLOTILZZOOOIZTLZLOOZTITZOLZLLZLZTTIILIOZOILLTOOZTLLTOOIIIITLLLOTLTIOIILLLZTOIILILLILLTIIOTOILITZIZZILLLIILIOO...

Second Run Input

play
502
L
I
Z
O
I
Z
O
Z
O
I
I
O
Z
Z
I
T
T
T
I
I
Z
O
O
L
L
L
O
O
I
O
Z
O
O
T
O
L
Z
T
Z
L
L
Z
L
O
Z
I
I
I
L
Z
Z
I
O
T
I
T
I
L
T
I
T
O
L
O
L
Z
L
I
T
I
O
T
T
I
T
L
I
O
O
L
L
I
I
L
T
I
L
L
L
Z
I
I
T
O
T
L
I
I
T
Z
T
T
I
L
L
I
O
T
L
Z
O
L
Z
T
I
Z
L
Z
L
T
L
L
O
T
O
L
O
T
I
I
I
Z
L
I
O
O
I
O
L
Z
O
Z
I
T
I
O...

Second Run Output

*....
*....
**...
.....
.....

#****
#....
##...
.....
.....

**...
#**..
##...
.....
.....

##...
###..
##...
**...
**...

****.
..#..
.....
.....
.....

####*
..#**
...*.
.....
.....

**...
**###
...#.
.....
.....

##**.
...**
...#.
.....
.....

####.
...##
...#.
..**.
..**.

###..
****#
.....
..#...

result:

ok good job!

Test #12:

score: 100
Accepted
time: 262ms
memory: 6032kb

First Run Input

prepare
801
TL TL TZ LO LO TI ZI LI LZ OT OZ LT OL IL OZ OT OT IO ZL OZ OT ZL LO TO TZ TL OI ZO TI ZI TO IT ZL TZ IZ IT IL ZO IO LT ZI OZ LO TI OI TO LI IL LT LZ LT OZ IL LZ ZO ZT IL ZL TZ OI IZ TL ZI OT TO IL IO OZ IO ZL OT IZ IZ IT IT OI OZ ZL ZT ZT OI IT IZ IL ZL LZ TI IZ IZ IZ ZI LT ZT LZ IO LZ ...

First Run Output

TLTOLTILZTZTLIZOTOLZOLLOTLOOIITTZZITIZOLIZOIITILLLLZILOTIZTOITZOTIOZOLTIZTIOOLTTITIIZLIIIZITTZILTOTLZOLLLZOOTIOLLILILITLOTOLZOTLZILOTIILLIZOZZLLLZZZZLITTTIIIOOTLILIOLITLLLLLIZTIILIIOZTLTOOLIOILILOZZIOILOZILOLILILTIOILILLTOZZLLOOILIZITIITTOZTILOLLOLOLIZIOTTOTTTLOLILTLLOZTILOOITTOOLTIIZILOTLILIZOTLOOT...

Second Run Input

play
801
T
L
T
O
L
T
I
L
Z
T
Z
T
L
I
Z
O
T
O
L
Z
O
L
L
O
T
L
O
O
I
I
T
T
Z
Z
I
T
I
Z
O
L
I
Z
O
I
I
T
I
L
L
L
L
Z
I
L
O
T
I
Z
T
O
I
T
Z
O
T
I
O
Z
O
L
T
I
Z
T
I
O
O
L
T
T
I
T
I
I
Z
L
I
I
I
Z
I
T
T
Z
I
L
T
O
T
L
Z
O
L
L
L
Z
O
O
T
I
O
L
L
I
L
I
L
I
T
L
O
T
O
L
Z
O
T
L
Z
I
L
O
T
I
I
L
L
I
Z
O
Z
Z
L
L
L
Z...

Second Run Output

***..
.*...
.....
.....
.....

###..
.#...
.*...
.*...
.**..

#.#..
..*..
.**..
..*..
..#..

#**..
.**..
.#...
.....
.....

###..
.##..
.#*..
..*..
..**.

##***
.#.*.
.#...
.....
...#.

****.
.#.#.
.#...
.....
...#.

####.
.#.#.
.#...
.***.
.*.#.

#.##.
.**#.
..**.
..##.
...#.

#.#..
.##..
..#..
.*#...

result:

ok good job!

Test #13:

score: 100
Accepted
time: 331ms
memory: 6564kb

First Run Input

prepare
1000
LT LT TO OL ZI OI IO IL TO IO IT LZ ZL ZL OL OI OL TO IO OL IZ ZO TZ OZ TL LT IZ LO IZ IO IO ZT IO TZ LI ZL ZT LT TL TL IL TI OZ LO TO OI LI LI OL ZI ZI TI IO OL ZT LT ZL ZI TZ TL OT ZL OT TI OL IT ZL IT OT LZ LZ LZ IL OZ LO ZI TZ IT TO TZ OZ ZI IT TZ LZ ZT ZO LT OT TI OZ LI OZ TL LO OT...

First Run Output

TLTOZOILTITLLLLILTIOIOTZLTZOZIITOTLLTLTTLIOLTOILLIIIOOTLLITLTLTIOTZIOZLLIOLITITZZIIZLTOLTTOLZTOOIOTTZZLLIIILZLILOIZIZTLIZILOOZTIOOLLLITOTLOTLZLZTIOTOLZIIIOTIILLIZTZLIZLILTTLOZTLOLZZLOOLOLTTTIITILLLITLZIZITILZTIIOIZTIZIOILZOOIOTOIOTOTZTOOLZZTOTLTLLLLTLIZZZLTTTIOOILLIILZIILILZLTILIITLILILOOOZLIILLIZZO...

Second Run Input

play
1000
T
L
T
O
Z
O
I
L
T
I
T
L
L
L
L
I
L
T
I
O
I
O
T
Z
L
T
Z
O
Z
I
I
T
O
T
L
L
T
L
T
T
L
I
O
L
T
O
I
L
L
I
I
I
O
O
T
L
L
I
T
L
T
L
T
I
O
T
Z
I
O
Z
L
L
I
O
L
I
T
I
T
Z
Z
I
I
Z
L
T
O
L
T
T
O
L
Z
T
O
O
I
O
T
T
Z
Z
L
L
I
I
I
L
Z
L
I
L
O
I
Z
I
Z
T
L
I
Z
I
L
O
O
Z
T
I
O
O
L
L
L
I
T
O
T
L
O
T
L
Z
L
Z
T
...

Second Run Output

***..
.*...
.....
.....
.....

###..
.#...
.*...
.*...
.**..

#.#..
..*..
.**..
..*..
..#..

#**..
.**..
.#...
.....
.....

###..
.##..
.#...
**...
.**..

#.#..
..#..
.**..
#**..
..#..

#****
.....
.#...
##...
.....

.....
.....
.#...
##***
..*..

***..
.*...
.#...
.....
..#..

###..
*#...
*#...
*.....

result:

ok good job!

Test #14:

score: 100
Accepted
time: 318ms
memory: 6632kb

First Run Input

prepare
1000
LI ZL ZL OZ ZT ZO IO OZ OI ZI IL ZI OT OI TL TI IT IT TO ZO TI LZ IL IZ OL ZT LZ ZL TI IT TZ LZ IZ OZ ZI ZO IL OL TI OI ZT OL IO OL TZ LT IO ZO TL OT TO ZT OZ TO IO LT ZL TI ZL ZL ZL ZL TL TL TO ZI TI OT TZ OI IL OT TI LI ZT OT IO LT OT OZ IO IL OL TI OT TZ LT OI IO ZO TI IT OT ZT OZ LT...

First Run Output

IZLZZZOZOIIITITIIITZILLILTLZITTLIZIOLOIIZLIOTTIOLTTTOTILLIZLLZTLTITOZOIOIITTILTZOILTTTLOIOTTOTOLOOTLILLTITITLOOLOOILZOTTZZLLZZZILITOZOLOZOLZLITOIOTIOZLZTLZLIITTTLZLLIIIOTTZLILLITTOIIOOTOTLTITIOTTTTOZLITOIOTLLLLLLTLTLLTTLILTTTIOZZOLOLOILZLTTLTTOILOLOTTOIIIZOZOLLIZTOTIOTOLOLLTTITILIIILTLLTOLOILLOTIOIL...

Second Run Input

play
1000
I
Z
L
Z
Z
Z
O
Z
O
I
I
I
T
I
T
I
I
I
T
Z
I
L
L
I
L
T
L
Z
I
T
T
L
I
Z
I
O
L
O
I
I
Z
L
I
O
T
T
I
O
L
T
T
T
O
T
I
L
L
I
Z
L
L
Z
T
L
T
I
T
O
Z
O
I
O
I
I
T
T
I
L
T
Z
O
I
L
T
T
T
L
O
I
O
T
T
O
T
O
L
O
O
T
L
I
L
L
T
I
T
I
T
L
O
O
L
O
O
I
L
Z
O
T
T
Z
Z
L
L
Z
Z
Z
I
L
I
T
O
Z
O
L
O
Z
O
L
Z
L
I
T
O
I
...

Second Run Output

****.
.....
.....
.....
.....

####*
...**
...*.
.....
.....

.....
***##
*..#.
.....
.....

**...
.**..
#..#.
.....
.....

##**.
.##**
#..#.
.....
.....

####.
.####
#..#.
..**.
...**

###..
.##.#
#..**
..#**
....#

###..
.##.#
#..##
**###
.**.#

###..
.##.#
#**##
.**..
.##.#

#****
....#
.....
......

result:

ok good job!

Test #15:

score: 100
Accepted
time: 315ms
memory: 6640kb

First Run Input

prepare
1000
LI LI TO TO ZL TO OI ZO TO TI TZ IT OL IZ OZ ZO TO ZL LT TI IZ TL IL TO TZ TO LZ ZT OZ ZT OI IO OI LZ LT ZI LI IZ TO OL ZI TI LO ZT TO IZ IO LO ZI IO IT TL LZ TL LO TO OL IO TZ IT TI IT IT OL ZT OL LO LZ ZI ZI ZO ZT IO OL LT TO IL ZL TI LO ZL LO LT IL IT OI OT OZ TO IT LT LZ LI IT OT ZI...

First Run Output

LLTOLOIZOIZILIZOOLTIITITZOLZZZIOILTZLITLITOZTIOLIOTTLLLOLOZIIITOTLOLZIZTILTTLZILLLLLIITOOTLLIITITTZLITITIIITLILTLLOLTZTZZIZTIIZLZZOLZIILIZLTOTITLLILIITOILOITLLTTZZOLLIZLLIZOLLLTOTOZOTTITILZOIIIOLOTTIOLOIZTILOTLOOZLLIIIZOTOLILTLOOLTTOLZLTITOIIITLZTTIILLIOZITTOTLZZOOIIOOZZTLTTIZIOILOZZLTLZZITILIIIIZLI...

Second Run Input

play
1000
L
L
T
O
L
O
I
Z
O
I
Z
I
L
I
Z
O
O
L
T
I
I
T
I
T
Z
O
L
Z
Z
Z
I
O
I
L
T
Z
L
I
T
L
I
T
O
Z
T
I
O
L
I
O
T
T
L
L
L
O
L
O
Z
I
I
I
T
O
T
L
O
L
Z
I
Z
T
I
L
T
T
L
Z
I
L
L
L
L
L
I
I
T
O
O
T
L
L
I
I
T
I
T
T
Z
L
I
T
I
T
I
I
I
T
L
I
L
T
L
L
O
L
T
Z
T
Z
Z
I
Z
T
I
I
Z
L
Z
Z
O
L
Z
I
I
L
I
Z
L
T
O
T
I
T
L
...

Second Run Output

*....
*....
**...
.....
.....

#....
#....
##***
..*..
.....

#....
#....
*....
**#..
*....

**...
**...
.....
.##..
.....

##...
##...
*....
*##..
**...

.#**.
.#**.
.....
.##..
.#...

.###.
.###.
****.
.##..
.#...

..##.
..##.
#.##.
**#..
.**..

...#.
...#.
#..#.
##**.
.#**.

.....
.....
#****
###...

result:

ok good job!

Test #16:

score: 100
Accepted
time: 319ms
memory: 6848kb

First Run Input

prepare
1000
LZ TZ IT LO LO IL TZ OL LO OZ TZ TL LZ IT LZ OL ZI TO IZ ZI ZT ZT OL IL LI TI IZ LZ LI ZI OL LI IO ZL IL ZI TZ TZ LI IZ LZ ZO ZO ZO OZ TL TZ TO ZI IZ OZ LI IO IL LI TO IT LI OT TI OT IO TO OZ LO IT LT TI LZ TO TL OZ TL OZ TI ZI IT OZ OZ TL LT LT ZL ZI ZT OI LO LT IL IZ IT OI OT ZL IZ ZL...

First Run Output

ZTIOOIZLOZZLZILLIOIITTOLLTZLLILLOLIIZTIIZOOOZLTTZIOIILIOILTITITOLITILOLOLZIZIOZTTLLIZILLLIIIOLZLIOTLZOLZZOLIIZZIITLLOLLOTILIIOOLOZIILIILIILZOOLOLLTIITLOILITILTLILTIOZTZIIZOIOZZTZOOTTIIITILILLTOTIITIZITITLLLLIIIOOLIZZILILOLOOITIIZTTOTTLILITTTIOTZZLIOIILIZOIILILTTZILIOLIZLIILZOTTLLIZIILILILLOLZLOLIZTI...

Second Run Input

play
1000
Z
T
I
O
O
I
Z
L
O
Z
Z
L
Z
I
L
L
I
O
I
I
T
T
O
L
L
T
Z
L
L
I
L
L
O
L
I
I
Z
T
I
I
Z
O
O
O
Z
L
T
T
Z
I
O
I
I
L
I
O
I
L
T
I
T
I
T
O
L
I
T
I
L
O
L
O
L
Z
I
Z
I
O
Z
T
T
L
L
I
Z
I
L
L
L
I
I
I
O
L
Z
L
I
O
T
L
Z
O
L
Z
Z
O
L
I
I
Z
Z
I
I
T
L
L
O
L
L
O
T
I
L
I
I
O
O
L
O
Z
I
I
L
I
I
L
I
I
L
Z
O
O
L
O
L
...

Second Run Output

**...
.**..
.....
.....
.....

##***
.##*.
.....
.....
.....

****.
.###.
.....
.....
.....

####.
.###.
**...
**...
.....

####.
.###.
##**.
##**.
.....

####.
.###.
####.
####.
****.

#....
**...
#**..
#....
#....

...*.
.#.*.
.##**
.....
.....

...#.
.#.#.
.####
..**.
..**.

.**..
.#**.
.##.#
..#...

result:

ok good job!

Test #17:

score: 100
Accepted
time: 322ms
memory: 6568kb

First Run Input

prepare
1000
IT IO TZ IO TZ OZ OZ IO IL IZ ZT LZ LZ OI IO ZT LI LI LT OI TZ ZT OI OZ ZT LZ LI IL TI OZ LI TZ OT TZ LZ TI LO TI LI LT LI ZL LO TO ZL TI OI ZL OT IO ZL ZT LT OL TL ZL IT TZ TL TZ ZO IO IO IO ZI TL ZO OI TL TO LT ZO ZO OT IO IL IZ ZT OL IO LI LI OL ZI OI LT IT ZO IZ TO IL IT OT LO OZ LT...

First Run Output

IOZOZZZOLZTLLIITLILITTIOTZLLIOITOTLILTLTLLLTLTOLTOLZTLLLTZLZZOOIILOILTLOOTILZZLILILIOLTOZTITOLOTLOIZIITOLIIZOILZTLIOLOOIOITLOZIOZIITTIOZLLLITITILITLOOTLLILTTILIZZOZTOZILOOLILLIIITLLOOTLOLLLIIILZZTOLOIOTLOTOTLLLOLLOILOTOTITIITTTITILLTLTTZOLZTZOZLTOIIZTTOZTILTTTILIITLIZTLZTLOLLZTOILLOTLZZLLZLLLILTIILZ...

Second Run Input

play
1000
I
O
Z
O
Z
Z
Z
O
L
Z
T
L
L
I
I
T
L
I
L
I
T
T
I
O
T
Z
L
L
I
O
I
T
O
T
L
I
L
T
L
T
L
L
L
T
L
T
O
L
T
O
L
Z
T
L
L
L
T
Z
L
Z
Z
O
O
I
I
L
O
I
L
T
L
O
O
T
I
L
Z
Z
L
I
L
I
L
I
O
L
T
O
Z
T
I
T
O
L
O
T
L
O
I
Z
I
I
T
O
L
I
I
Z
O
I
L
Z
T
L
I
O
L
O
O
I
O
I
T
L
O
Z
I
O
Z
I
I
T
T
I
O
Z
L
L
L
I
T
I
T
I
L
...

Second Run Output

****.
.....
.....
.....
.....

####.
**...
**...
.....
.....

####.
##...
##...
**...
.**..

#.##.
#**..
#**..
#....
..#..

#.##.
###..
###..
#.**.
..#**

#..#.
##**.
##.**
#..#.
...##

#.**.
###**
##..#
#....
....#

#.##.
..**.
##**#
#....
....#

#.##.
..##.
..*..
#.*..
..**#

#..#.
...#.
..**.
#.....

result:

ok good job!

Test #18:

score: 100
Accepted
time: 314ms
memory: 6612kb

First Run Input

prepare
1000
OZ TZ TO LZ ZI IT IL TL LO IL ZT OI TZ LO IT LO ZT OI TZ TL LO IO OZ LZ IL OL ZI ZT ZO ZL ZI OZ TI ZO OT OI IL LZ LI LO TZ LZ LZ OL LO ZL IZ LT OL IT ZT IO OL LO OZ LZ ZO TL OZ IO LI IZ IT ZI ZL IT TI TO ZO LI TI IL TO ZT LZ ZO ZO LT IT TO ZT OT ZL IO TL LI TL TO ZT IO OT TZ LI LZ IO TZ...

First Run Output

OTOLIILTLITIZOIOTIZLOIZLILITZLIZIOTIILILTLLOLLILLTTIOLOLOLOOIIIIZTIOZLIITTZOZTITZOZILILTTOTTIZOZITIOTTLLTOLLLTZTZIZITIZZOOZZLLTLLZOTTOLTITOLOLLLZLIZZZTOLLIZTTOLTIITITLZOILILILOTLLLTTTOZTILTILIZILOTLLLOLOIOLITTILOIZLTLTLITLLOZLTTOZLTILTTZOOLIIOOITOTTOTLTTLOTLILTZTOLTZLLTOTOTZIIOOITZLIIOOILZZOLZIOITOT...

Second Run Input

play
1000
O
T
O
L
I
I
L
T
L
I
T
I
Z
O
I
O
T
I
Z
L
O
I
Z
L
I
L
I
T
Z
L
I
Z
I
O
T
I
I
L
I
L
T
L
L
O
L
L
I
L
L
T
T
I
O
L
O
L
O
L
O
O
I
I
I
I
Z
T
I
O
Z
L
I
I
T
T
Z
O
Z
T
I
T
Z
O
Z
I
L
I
L
T
T
O
T
T
I
Z
O
Z
I
T
I
O
T
T
L
L
T
O
L
L
L
T
Z
T
Z
I
Z
I
T
I
Z
Z
O
O
Z
Z
L
L
T
L
L
Z
O
T
T
O
L
T
I
T
O
L
O
L
L
L
Z
...

Second Run Output

**...
**...
.....
.....
.....

##***
##.*.
.....
.....
.....

.....
##.#.
**...
**...
.....

.....
##.#.
##***
##*..
.....

****.
##.#.
.....
###..
.....

####*
##.#*
....*
###.*
.....

..*..
##*##
..**#
###.#
.....

..#..
.....
..###
###*#
..***

*.#..
*....
**###
.....
..###

#.#..
#****
.....
......

result:

ok good job!

Test #19:

score: 100
Accepted
time: 316ms
memory: 6564kb

First Run Input

prepare
1000
LT LT ZI TI ZL ZL IZ IT LO TZ OZ OI TL TZ LO LI ZT OZ LZ ZO OI LZ OT ZI ZO LI LO OL LO LI TO TO TO ZI LO IL ZL LZ TO TO ZO LZ IT TZ LZ ZT ZO ZT TI LZ IZ TL ZI ZI ZL ZT OI ZT IT LI ZI IO TI TL LT OI IL IL TO OL TI OT TI OI LO ZT IL LT IZ IL TZ IO TZ ZI LZ TL OL ZT IL LI ZT IO TZ ZL LT LZ...

First Run Output

LTZILZZILZOILTOIZOLOILTIZLLLLLTTTILILLOTOLIZLZOZTLILZILZOTTLIITLTILLTLTOIOLZITIITITZLLLZILTOTLLLIZLIOLTZZTLIZTTLOOTIOLTLIOILZIZIOLZTITTLITZLLTZILTLIZTOZTTIIZLZLTOOITILLLLTTTOLOIOIZIOLOIILZOLLLTLOTLOOILLITLOZLIZIIOTZLIOOLIOOTTIIIILLLTITLLOTTTITOZZLLOOLLTOLILOITIZTTLILITLITLLLZTTLZZZZZIIOLLZIOLTOLOTOT...

Second Run Input

play
1000
L
T
Z
I
L
Z
Z
I
L
Z
O
I
L
T
O
I
Z
O
L
O
I
L
T
I
Z
L
L
L
L
L
T
T
T
I
L
I
L
L
O
T
O
L
I
Z
L
Z
O
Z
T
L
I
L
Z
I
L
Z
O
T
T
L
I
I
T
L
T
I
L
L
T
L
T
O
I
O
L
Z
I
T
I
I
T
I
T
Z
L
L
L
Z
I
L
T
O
T
L
L
L
I
Z
L
I
O
L
T
Z
Z
T
L
I
Z
T
T
L
O
O
T
I
O
L
T
L
I
O
I
L
Z
I
Z
I
O
L
Z
T
I
T
T
L
I
T
Z
L
L
T
Z
I
L
...

Second Run Output

*....
*....
**...
.....
.....

#....
#....
##***
...*.
.....

#**..
#.**.
.....
...#.
.....

###..
#*##.
.*...
.*.#.
.*...

#.#..
#.##.
*....
*..#.
**...

..#..
**##.
.**..
...#.
.#...

..#..
####.
.##..
.**#.
.#**.

****.
##.#.
.#...
.#.#.
.#.#.

#.##.
#..#.
*....
*..#.
**.#.

..##.
.**#.
..**.
......

result:

ok good job!

Test #20:

score: 100
Accepted
time: 313ms
memory: 6584kb

First Run Input

prepare
1000
OI LO ZI TI TI OT TI OZ TI TO IO ZL IT TL OT IZ IT ZI LT ZT TI ZL LI IL TZ LZ LZ OT LI LO OZ LO OZ ZT TZ OI LT IL LO IL OI TO IT LI ZL IO ZT OZ IL OI ZT OZ TZ TZ OZ OT TZ ZT LT OZ OL OL IT TI IZ TZ ZI ZL OI ZI ZL ZO ZT LO LI IL LO OI TI LO LZ IO IL IT OI OL ZO OI ZL ZT OZ LO LT LZ TZ OZ...

First Run Output

OOZTIOIZITOLTLOIIZTTILIIZLZOILZLZTZOTLLLOOTLZITOLIZOTTZOZTTZLLTTITILIILOTOLILOIOZOLTOLZOLZOOTLTOLLZILOILLOTZTLLOILZZLOOTOIIILIIITILLTTZOILLLOILZLIOTIIOILZILIOOZOOILZILZLOLIIILTTLZOTIOLITLILIIIIOLZZZIOOZIIIITOOTTZZZLTLOTZLIOTTLITZLIILOOLIOLIZITIZZLLTZOTTZOLOLIILLOOZLZLLIIOLTTOTTILOTTTIIZOOLTIOLOTTZTZ...

Second Run Input

play
1000
O
O
Z
T
I
O
I
Z
I
T
O
L
T
L
O
I
I
Z
T
T
I
L
I
I
Z
L
Z
O
I
L
Z
L
Z
T
Z
O
T
L
L
L
O
O
T
L
Z
I
T
O
L
I
Z
O
T
T
Z
O
Z
T
T
Z
L
L
T
T
I
T
I
L
I
I
L
O
T
O
L
I
L
O
I
O
Z
O
L
T
O
L
Z
O
L
Z
O
O
T
L
T
O
L
L
Z
I
L
O
I
L
L
O
T
Z
T
L
L
O
I
L
Z
Z
L
O
O
T
O
I
I
I
L
I
I
I
T
I
L
L
T
T
Z
O
I
L
L
L
O
I
L
Z
L
...

Second Run Output

**...
**...
.....
.....
.....

##**.
##**.
.....
.....
.....

####.
####*
...**
...*.
.....

####.
.....
***##
.*.#.
.....

####*
....*
....*
.#.#*
.....

**...
**..#
....#
.#.##
.....

##...
##..#
****#
.#.##
.....

##...
##**#
...**
.#.##
.....

##...
*....
*..##
*#.##
*....

.#...
.*...
***##
.#....

result:

ok good job!

Test #21:

score: 100
Accepted
time: 331ms
memory: 6636kb

First Run Input

prepare
1000
LT IO OZ TZ OI ZT IO LT LT TZ TL OT OT LI OT IL TL TZ IT TO ZT OZ LI ZO LO OL OZ ZL TL ZI IL TL LO IZ OT TI IZ LO TI TO ZI OT TO OI LT LZ ZO ZI TL TI LT IZ LZ OL IT TL OT TZ OT ZI LT ZI OL OL OZ OZ TI TZ IT OT TZ OZ OI OL IL OI TZ OI TL ZI IT ZT LT TO TZ OL TO TO LT IZ OI TL TZ ZT IL IZ...

First Run Output

TIOTOTOLLTTOOLOITZITTZIOLLZLLILLOZTIZLTTITOILLOITITIZLILTZTILIOLOOITTOZZIOLOTOLIITTOTLTTLIILZTLILLZLILIZLZITLTTILZIZTZZLOILZOLLLTLILLLITLZOIOLZIZOLLTOTITLOLTTZOLOILIOIOOTTLZLZIITOZITZOZLZTIITITOOZLOOLZZOZILOZLIIOOITIOLLLTIITLLLILOLITOLZTILOTOLLLIZLLLLZTIIIITITLTTIOTIIILTILZOLZLOIZLZLLTIIOLOTLLLLILZL...

Second Run Input

play
1000
T
I
O
T
O
T
O
L
L
T
T
O
O
L
O
I
T
Z
I
T
T
Z
I
O
L
L
Z
L
L
I
L
L
O
Z
T
I
Z
L
T
T
I
T
O
I
L
L
O
I
T
I
T
I
Z
L
I
L
T
Z
T
I
L
I
O
L
O
O
I
T
T
O
Z
Z
I
O
L
O
T
O
L
I
I
T
T
O
T
L
T
T
L
I
I
L
Z
T
L
I
L
L
Z
L
I
L
I
Z
L
Z
I
T
L
T
T
I
L
Z
I
Z
T
Z
Z
L
O
I
L
Z
O
L
L
L
T
L
I
L
L
L
I
T
L
Z
O
I
O
L
Z
I
Z
...

Second Run Output

***..
.*...
.....
.....
.....

###..
*#...
*....
*....
*....

.##**
.#.**
.....
.....
.....

.####
.#.##
.*...
**...
.*...

**###
**.##
.....
#....
.....

.***.
##*##
.....
#....
.....

.###.
**...
**...
#....
.....

.###.
##***
##*..
#....
.....

.###.
.....
###**
#...*
....*

.###.
.....
.....
#**...

result:

ok good job!

Test #22:

score: 100
Accepted
time: 316ms
memory: 6560kb

First Run Input

prepare
1000
TZ LO LI OZ TI TO ZT TZ TL IO ZO TI OL IT IL LO TZ TO ZO LT IT TZ ZT TO TL TI ZL TI OZ LO TO IL OT OL TI ZI OZ IL IT LI ZT IZ TI IZ OZ IT IO IT ZT IT ZI OI IZ IL IO IO OT OT LT IT TL IO IO IO OI TI ZL ZL OI TO TZ TI OI LT OT TI ZT TI ZI OL LT TZ LO OI TL LT TZ OT ZO TZ IZ ZI TO OZ LO IT...

First Run Output

ZLIZITZTTIZIOIILTOOLIZTTTTZIZLTITLIIOLIITITZZIOTZTIOIIIITOLILOIOIILLOTTTILTTTTZLLZLITTTTOZIIOZLILLZITIOOIIOTLILTTTLIIILOOLIZLLOLILIZLZOZLOZZLOTITOIOIZOITTOITTLZLILIOTTTZILZTOLIILOTZLIIIZLOLTIZIOLLOTLZILOIIZTILITZITZILZZTOITTLZOLTZILLTZZIIZIOZIZOTZIZOIILOZITLILOOLOOOILOIILIOOTOLLOOOLLOTTLTTLIZZILOOIT...

Second Run Input

play
1000
Z
L
I
Z
I
T
Z
T
T
I
Z
I
O
I
I
L
T
O
O
L
I
Z
T
T
T
T
Z
I
Z
L
T
I
T
L
I
I
O
L
I
I
T
I
T
Z
Z
I
O
T
Z
T
I
O
I
I
I
I
T
O
L
I
L
O
I
O
I
I
L
L
O
T
T
T
I
L
T
T
T
T
Z
L
L
Z
L
I
T
T
T
T
O
Z
I
I
O
Z
L
I
L
L
Z
I
T
I
O
O
I
I
O
T
L
I
L
T
T
T
L
I
I
I
L
O
O
L
I
Z
L
L
O
L
I
L
I
Z
L
Z
O
Z
L
O
Z
Z
L
O
T
I
T
...

Second Run Output

**...
.**..
.....
.....
.....

##...
.##..
.*...
.*...
.**..

#****
..#..
.....
.....
..#..

..**.
..#**
.....
.....
..#..

..##.
..###
****.
.....
..#..

..##.
..###
####.
..***
..#*.

**...
.**.#
##...
....#
.....

##***
.##*#
##...
....#
.....

.....
.####
##***
...*#
.....

*....
*####
*....
*.....

result:

ok good job!

Test #23:

score: 100
Accepted
time: 331ms
memory: 6640kb

First Run Input

prepare
1000
OT TL OI IL OT LO IT OT TI LI IL IT TO ZL LO IL IZ ZI ZI TZ OI IT ZO LZ TZ TL IO LO OT ZI TO TL OT IL ZO OZ IZ IL OT IL TO IL IL LZ ZL OZ ZL OT IT OI LI LO OL ZI TO IZ OI OZ LT OT IT TO LZ IZ OZ ZI TZ ZL ZT IO TO TZ TO OL OT LZ TO IT OL LT ZI TO IZ ZI ZO ZL IL TO IZ TI ZI IO ZL TO LO TO...

First Run Output

OLILOOTOTLLITLOIIIIZOTZZZLILTITTTIZZIIOLTLLZLOLOTOLLLZTIOOLTTTLZOITLZOTZOOTLTIOTIOIIOLIOITIILOOTTTIILITLIILLTITZILTOILOLLOTZITIIZILOILZILZLTTTTOIOOILTOILOOOLZZLIZLOLIOIOLILTTLTOOTITOLLOOILZIOILLIOZIOITTLLLLTTLZTOTLIOIIOOTTZTIIILTITIZIIOIOZTILLOITTLZOITOLLIOZLOITOLLILLOLLIIOLOTTLILOTOLOLIZIOLLLTZTZOZ...

Second Run Input

play
1000
O
L
I
L
O
O
T
O
T
L
L
I
T
L
O
I
I
I
I
Z
O
T
Z
Z
Z
L
I
L
T
I
T
T
T
I
Z
Z
I
I
O
L
T
L
L
Z
L
O
L
O
T
O
L
L
L
Z
T
I
O
O
L
T
T
T
L
Z
O
I
T
L
Z
O
T
Z
O
O
T
L
T
I
O
T
I
O
I
I
O
L
I
O
I
T
I
I
L
O
O
T
T
T
I
I
L
I
T
L
I
I
L
L
T
I
T
Z
I
L
T
O
I
L
O
L
L
O
T
Z
I
T
I
I
Z
I
L
O
I
L
Z
I
L
Z
L
T
T
T
T
O
I
...

Second Run Output

**...
**...
.....
.....
.....

##...
##...
*....
*....
**...

.#...
.#...
****.
.....
.#...

.#...
.#...
####.
***..
*#...

**...
**...
#.##.
#.#..
#....

.#**.
.#**.
..##.
..#..
.....

.###.
.###.
..##.
..#*.
..***

.#**.
.#**.
.....
.....
....#

.###.
.###.
.*...
**...
.*..#

..##.
..##.
..*..
#.*...

result:

ok good job!

Test #24:

score: 100
Accepted
time: 320ms
memory: 6852kb

First Run Input

prepare
1000
IL LZ IZ OI OZ ZO TI ZI LT ZT IT TI ZI TO ZI LI IT TZ LI IO IZ LI IO LO ZL ZO LO LT ZL ZO ZL LO IO ZI ZT LZ OI TO OL LZ OL LZ ZT ZI ZT OZ IL TO ZL TO LT OI LZ LT IO LI LZ TL ZL OL LO IZ ZL IZ ZL ZT LZ IO IL OZ ZT ZI IL LZ IL LT IO TZ LT IZ ZL ZT OT IT ZO LT LO ZL LO TO LZ IO OZ LI ZL TO...

First Run Output

IZZIZOIILZIIITILITLIIIILLOOTLZLLOITZIOLLOLZITZLTLOLOLLILLTZLLILIZZZIIZTIIZITOTLILZTIOLLLOTLIZILOTTILLTIOTLTITITZLZILLTIIITIOZLLIIIOOZTLIILIZOLILLOZTTLOOILILOLOTOLOLLLZLOIZLLLTOZLOTOTIOLOILIIILOILOOLZLTOILIOILLTLLTILOZOLOTOOOTZLLLITZLOLOTTIOLIOLITITOTTIOTILOZLOZILTIOZLLITIIILTZTTIOZTOLZLZLTOLIZLOTLOO...

Second Run Input

play
1000
I
Z
Z
I
Z
O
I
I
L
Z
I
I
I
T
I
L
I
T
L
I
I
I
I
L
L
O
O
T
L
Z
L
L
O
I
T
Z
I
O
L
L
O
L
Z
I
T
Z
L
T
L
O
L
O
L
L
I
L
L
T
Z
L
L
I
L
I
Z
Z
Z
I
I
Z
T
I
I
Z
I
T
O
T
L
I
L
Z
T
I
O
L
L
L
O
T
L
I
Z
I
L
O
T
T
I
L
L
T
I
O
T
L
T
I
T
I
T
Z
L
Z
I
L
L
T
I
I
I
T
I
O
Z
L
L
I
I
I
O
O
Z
T
L
I
I
L
I
Z
O
L
I
L
L
...

Second Run Output

****.
.....
.....
.....
.....

####*
...**
...*.
.....
.....

**...
.**##
...#.
.....
.....

##...
*####
*..#.
*....
*....

.#**.
...**
...#.
.....
.....

.###.
...##
...#.
..**.
..**.

.##..
****#
.....
..#..
..#..

.##..
.*...
.*...
.*#..
.*#..

..#..
..***
..*..
..#..
..#..

**...
.**##
.....
......

result:

ok good job!

Test #25:

score: 100
Accepted
time: 309ms
memory: 6636kb

First Run Input

prepare
1000
IZ TZ TI TZ OT TZ ZO OI LZ LZ ZT IL OI OT TL OI TI ZL LO OT LZ ZI ZL LI ZT LI LT IZ OT TO ZO IZ IT OT ZL OZ ZT ZT TL IL LI IZ LT LO OL ZT IZ ZL OZ LI IL OZ IT ZT ZO TZ OI LZ TZ ZI OT TO ZT OT IO IZ TO LI ZT TZ ZO OT LZ LO OZ TZ TZ ZO ZI ZI IZ ZT OL OL OL IZ LO ZI OL ZO IO ZO TI ZT IZ LI...

First Run Output

IZITTZZIZLTIIOLOTLLTLILITLLITTZIIOLZTTTLLITLLTILZLIOTTOZOLZITTTTIZTLTTZTZOZTZZIIITOLLILZOOIOTZILITZOZLOZTTIZZIITOLLTIZTLLOOLIIZTLITOLTTTTZIITOILZLTIIOTTLOILZLOZLZOLZOTIOILLILIZZZLIIOIIILOOILTLOTZITOIZTLTITILLLOZOOLOZZLZLLIILITILIIIOOLIIZOTOOZLTLTZLLTITOLLOLLLOIILLOLLOZLLZLZLZZLIIOIZIIZIZZTTTOZITITTI...

Second Run Input

play
1000
I
Z
I
T
T
Z
Z
I
Z
L
T
I
I
O
L
O
T
L
L
T
L
I
L
I
T
L
L
I
T
T
Z
I
I
O
L
Z
T
T
T
L
L
I
T
L
L
T
I
L
Z
L
I
O
T
T
O
Z
O
L
Z
I
T
T
T
T
I
Z
T
L
T
T
Z
T
Z
O
Z
T
Z
Z
I
I
I
T
O
L
L
I
L
Z
O
O
I
O
T
Z
I
L
I
T
Z
O
Z
L
O
Z
T
T
I
Z
Z
I
I
T
O
L
L
T
I
Z
T
L
L
O
O
L
I
I
Z
T
L
I
T
O
L
T
T
T
T
Z
I
I
T
O
I
L
Z
...

Second Run Output

****.
.....
.....
.....
.....

####*
...**
...*.
.....
.....

****.
...##
...#.
.....
.....

####.
***##
.*.#.
.....
.....

####*
...**
.#.#*
.....
.....

**...
.**##
.#.##
.....
.....

##...
.####
.#.##
**...
.**..

#****
..###
...##
#....
..#..

.....
**###
.**##
#....
..#..

.....
***..
*####
#.....

result:

ok good job!

Test #26:

score: 100
Accepted
time: 315ms
memory: 6624kb

First Run Input

prepare
1000
IO LO IT TI ZL LT LZ ZT TL IL TO TO ZO LI IZ ZI LZ ZO IL ZT TZ OT TI ZT TO IO ZO IO TI OT TO OZ OI IT TI OL LT LO TO OI OL IZ ZO LZ ZT OT TO LT IO IT IZ LT TL TI LI OI LI IZ ZL ZI LI IT OT OI TZ ZI TI ZI OI TL IT ZO IZ TI IZ ZO ZO OL LT TO OT IZ TL LT ZL IZ LT IO IZ ZI LO LT LT LT LT LZ...

First Run Output

IOIIZLZZTLTTZIZIZZITZOTZTOOITTTOITTOLLOILZOLTOTLIIILTTIOLILZIIOOTITZILIOZIZOZOTTOILTLILIZILLLTTLOILIIOOZLOLILIOTILOLIZILILLOIITLOILLLTTOLTIOTOITLOTOZLILIOZIIILOOIIOLOTOLTOZZZTZZIILOILTILTOZOTITIOOLLOOTZILLIIILLITILITIIZIILZLLLLTITOLZZIITLLILIOLZTOIOOTIOLTLOTLLOLZOOTLITLTIZZIIIZLIOITLTZLTZTOZLTLIIOLO...

Second Run Input

play
1000
I
O
I
I
Z
L
Z
Z
T
L
T
T
Z
I
Z
I
Z
Z
I
T
Z
O
T
Z
T
O
O
I
T
T
T
O
I
T
T
O
L
L
O
I
L
Z
O
L
T
O
T
L
I
I
I
L
T
T
I
O
L
I
L
Z
I
I
O
O
T
I
T
Z
I
L
I
O
Z
I
Z
O
Z
O
T
T
O
I
L
T
L
I
L
I
Z
I
L
L
L
T
T
L
O
I
L
I
I
O
O
Z
L
O
L
I
L
I
O
T
I
L
O
L
I
Z
I
L
I
L
L
O
I
I
T
L
O
I
L
L
L
T
T
O
L
T
I
O
T
O
I
T
L
...

Second Run Output

****.
.....
.....
.....
.....

####.
**...
**...
.....
.....

####*
##..*
##..*
....*
.....

.....
##..#
##..#
****#
.....

.**..
##**#
##..#
.....
.....

.##..
.....
##**#
...*.
...*.

.##..
**...
.**..
...#.
...#.

.##..
##...
.##..
**.#.
.**#.

..#*.
#.**.
..#*.
#..#.
..##.

..#..
#*#..
.*#..
#**...

result:

ok good job!

Test #27:

score: 100
Accepted
time: 312ms
memory: 6568kb

First Run Input

prepare
1000
TI OZ LT TO IO LO IO ZI TZ ZT IO TL ZO ZT OI ZT LZ OT LZ OT LZ ZL ZI LO OT TL ZI LZ IL LI IO OT TI OZ OZ LT IT LT OL IO OL OZ OL IO ZI TL OI OZ LZ ZT IL TL IO IO TO TO ZO OI ZL ZT ZI TL IL IL IZ LZ ZT LO ZO ZT LO LT TI IZ TI IL ZO TI TO LI LO OZ TO ZT LI IZ LI ZT IL TL IL TZ ZI IO ZL TO...

First Run Output

IZTTILIIZTILOTOTLTLTZLILTLILIIITIOOLITOOLZOOILOZLTITIITTOOZTZLILILZLZTOLIIIIOITLLOOZIILTILITZOZTZOITLOLIZTZLOILZOLOTLITIILTLOITLILOLOIOIIOIZLZZIIITTLIZILLOOIITOOTLTILTTOITIIIITLITOIZIZOLOOITLTOOLIZLTLIILTTTLTLIILZIIZTIIIZZTLOLIZOIITLZOLTZLIITZIZZOIZILLOTZTZTIOLILTLTIIILTLOOILOZLLTOIZTTZZZIOIZITTILOL...

Second Run Input

play
1000
I
Z
T
T
I
L
I
I
Z
T
I
L
O
T
O
T
L
T
L
T
Z
L
I
L
T
L
I
L
I
I
I
T
I
O
O
L
I
T
O
O
L
Z
O
O
I
L
O
Z
L
T
I
T
I
I
T
T
O
O
Z
T
Z
L
I
L
I
L
Z
L
Z
T
O
L
I
I
I
I
O
I
T
L
L
O
O
Z
I
I
L
T
I
L
I
T
Z
O
Z
T
Z
O
I
T
L
O
L
I
Z
T
Z
L
O
I
L
Z
O
L
O
T
L
I
T
I
I
L
T
L
O
I
T
L
I
L
O
L
O
I
O
I
I
O
I
Z
L
Z
Z
I
I
...

Second Run Output

****.
.....
.....
.....
.....

####*
...**
...*.
.....
.....

.....
***##
.*.#.
.....
.....

***..
.*...
.#.#.
.....
.....

###..
*#...
*#.#.
*....
*....

.##..
.#...
.#.#.
.***.
.*...

..#..
****.
...#.
..##.
.....

..#.*
####*
...#*
..##*
.....

..#.#
.....
...##
**###
.**..

..#.#
.....
***##
.*....

result:

ok good job!

Test #28:

score: 100
Accepted
time: 327ms
memory: 6656kb

First Run Input

prepare
1000
OL TI LZ ZO IT TI IT OT IT OT TZ IL OT ZO TZ OI LI LO OL IT IT ZI IZ OT OT LT IZ LI ZT LO IZ LT TI LZ TL ZL ZO IZ LO LO TL IT TL LI LZ TO OT IL TO ZL LT OT LT IL LZ ZO ZL ZO ZT OI IZ IT OL ZO TL IT IZ TL ZL IO ZT LZ ZI ZL ZT LO OL ZL OT LO IZ IT ZL OZ TO IL IL IZ ZL LO ZO IZ IT IO OT LT...

First Run Output

OTZOTITOTTTIOZZIILOIIIZTTLIIZLITTZLLOILLLTTLLTTLTLLOLLZOZOTOITOZTIILZITZZLZOLZOOZILZOIIILOZIIOTLTILLLTTZTTLTLOOLOTLTIOTIZTZLTTIZITTLOLTIOTLOTILTIZOLLIZTIZOIITOITOOTTILTLIZTITITTTTIOILITILILLZTTZLLZLTTIIOTLILIOILTOOLITTLITTITLTLLLILZIOTOLLIIZZTOZIOLIIZILZTTZLILLZTITITOIZOTIIILZTTZILZLOOLOIZLZZTOTLOIT...

Second Run Input

play
1000
O
T
Z
O
T
I
T
O
T
T
T
I
O
Z
Z
I
I
L
O
I
I
I
Z
T
T
L
I
I
Z
L
I
T
T
Z
L
L
O
I
L
L
L
T
T
L
L
T
T
L
T
L
L
O
L
L
Z
O
Z
O
T
O
I
T
O
Z
T
I
I
L
Z
I
T
Z
Z
L
Z
O
L
Z
O
O
Z
I
L
Z
O
I
I
I
L
O
Z
I
I
O
T
L
T
I
L
L
L
T
T
Z
T
T
L
T
L
O
O
L
O
T
L
T
I
O
T
I
Z
T
Z
L
T
T
I
Z
I
T
T
L
O
L
T
I
O
T
L
O
T
I
L
T
I
...

Second Run Output

**...
**...
.....
.....
.....

##***
##.*.
.....
.....
.....

.....
##.#.
**...
.**..
.....

.....
##.#.
##.**
.##**
.....

.***.
##*#.
##.##
.####
.....

.###.
####.
##.##
.####
****.

..#..
#.#*.
#.**#
..#*#
#.#..

.....
#**#.
#**##
...##
#....

.....
####.
.....
***##
#*...

.....
####*
...**
......

result:

ok good job!

Test #29:

score: 100
Accepted
time: 314ms
memory: 6576kb

First Run Input

prepare
1000
IT LT TZ OZ IT ZI TO IT IZ TZ TZ IZ ZT ZI IO TL OI OZ ZT LI ZI IO TL ZL OT ZT OT OZ LI ZT LO OT ZT LO OL TZ OL TO LT ZT LT IZ OT LO ZL ZL ZL ZL ZI TL TI IT ZL LI IZ ZI IL ZL IL IZ LT LT IO TO TZ LZ OI OT TO ZL TO LT TL ZL OL LO ZT TO ZO ZL OI TI LO ZO IO OZ LO LI OZ IO OT TL ZO LO TL TO...

First Run Output

TTZOTZTTITTITIOLOOZLZILLTTTOIZLOZLLTOTLTTIOLZLLLILIILLIILZIITLIOTLITOLTTLZOLZOOLOTLOIOLIZITTOLLOOLZOOLITLLLILTOTTLTLILOZLLIITLZTIITZTTOLTZIILILILTILITOILILILLOZLLOTZLZLTZIZZLTILIOZOTOIZOOOZLLLOLZIIZOTOIIOZTLOZLOLILILLTTITLITTTITZOLZZILZIOOLLTLOLIOLZIOTLZTOTLTIIILLLIZZTIILTILTILTTLOILOZLOLZLIIOTOLTOI...

Second Run Input

play
1000
T
T
Z
O
T
Z
T
T
I
T
T
I
T
I
O
L
O
O
Z
L
Z
I
L
L
T
T
T
O
I
Z
L
O
Z
L
L
T
O
T
L
T
T
I
O
L
Z
L
L
L
I
L
I
I
L
L
I
I
L
Z
I
I
T
L
I
O
T
L
I
T
O
L
T
T
L
Z
O
L
Z
O
O
L
O
T
L
O
I
O
L
I
Z
I
T
T
O
L
L
O
O
L
Z
O
O
L
I
T
L
L
L
I
L
T
O
T
T
L
T
L
I
L
O
Z
L
L
I
I
T
L
Z
T
I
I
T
Z
T
T
O
L
T
Z
I
I
L
I
L
I
L
...

Second Run Output

***..
.*...
.....
.....
.....

###..
.#...
.*...
**...
.*...

#.#..
**...
.**..
#....
.....

#.#**
##.**
.##..
#....
.....

#.###
##.##
.##*.
#.**.
...*.

#.#.#
##**#
.##**
#.#..
.....

#*#.#
***..
.####
#.#..
.....

###.#
###..
.####
#*#..
***..

#...#
#****
...##
#....
#....

#***#
..*..
...##
#.....

result:

ok good job!

Test #30:

score: 100
Accepted
time: 321ms
memory: 6636kb

First Run Input

prepare
1000
OT OZ TO LZ TL OI LT OZ OL TO OL ZT OZ LI TZ LT OZ IT OL LT LO IO ZO IL IO OI OT LO OZ LO TZ LO TO IZ ZO IT ZL LZ IZ LI OI IO ZO ZT OZ ZT ZI OI ZT LT ZL ZO TI OZ LZ OL ZI LT ZI LO OT IZ LT LI IZ ZO TZ ZL OT OL ZO OZ LZ TL ZT TO TZ ZT LI LI OZ OL TI OZ ZT IT IO ZI ZT TO LO IO LZ LT TZ ZO...

First Run Output

OOOLTOLZOTOTOLZLOILTOIZIOITLOLTLTIZILZIIOIOTZZIIZTLOIZZLZTIOTZLIIZZZOOOZZLTOTTILZLIOTIOIZTLOLTZOLTOTLOZTLTZLLOZLLIZLLLTITZLLTTZIZILZLLLLTTILOTTTTLLLILZTLIIZZTLITTLLOITTOOTILTLTOLLLOLTZOTTLZILITIIILLIIZTIZTILLLLIIIITZLOZTZLITIILZZLZTZIILZILILZOIIZLILOTLZLTOTLOLLOITILOLLLTITOITTLITOOIIZIZLIOZTZILOLIZI...

Second Run Input

play
1000
O
O
O
L
T
O
L
Z
O
T
O
T
O
L
Z
L
O
I
L
T
O
I
Z
I
O
I
T
L
O
L
T
L
T
I
Z
I
L
Z
I
I
O
I
O
T
Z
Z
I
I
Z
T
L
O
I
Z
Z
L
Z
T
I
O
T
Z
L
I
I
Z
Z
Z
O
O
O
Z
Z
L
T
O
T
T
I
L
Z
L
I
O
T
I
O
I
Z
T
L
O
L
T
Z
O
L
T
O
T
L
O
Z
T
L
T
Z
L
L
O
Z
L
L
I
Z
L
L
L
T
I
T
Z
L
L
T
T
Z
I
Z
I
L
Z
L
L
L
L
T
T
I
L
O
T
T
T
T
...

Second Run Output

**...
**...
.....
.....
.....

##**.
##**.
.....
.....
.....

####.
####.
**...
**...
.....

####.
####*
##***
##...
.....

####.
.....
.....
##***
...*.

####.
**...
**...
.....
...#.

####*
##***
##...
.....
...#.

**...
.**..
##...
.....
...#.

##...
.##..
##...
**...
**.#.

#*...
**#..
#*...
#.....

result:

ok good job!

Test #31:

score: 100
Accepted
time: 328ms
memory: 6528kb

First Run Input

prepare
1000
OZ LT IZ TZ OL OZ TO IL ZO LZ ZO IL ZL TO TO OI OL ZT ZI IZ OI ZL LO TI ZO OI TO ZT LT ZT LT LO TI OT OI TL OT OI LZ IL IZ TZ LO ZL LI IZ ZI OI LO IL OZ ZL OL LI OL IL IT TL ZT OI ZI TL LZ LZ OT LZ IZ TZ ZO TL TO OZ ZT OI TL OT ZL LI TL LI ZT ZI LI IT OT TL OL TO LZ IT OT TL IT IO IO LO...

First Run Output

OLITOOOIZLZLZTTIOZIIILLTOOOZLTTLTTILOOLIITLLIIIOLIZLLIOIILZOILZLOZZTOLOZTILOLLLLTIIITLLOZTTLIOILIOOLLOLLLOOITTTILIIITLLITTOLIIIOOTOITTLOOOZTZLTOTLTLITZZTLLOIZLOLZZZZOITLTLILZIOIZLTOLITZTOOLOIZTLTIZOITZIOLZOLOLLLITLOLZOIZTLOZITOOLILIZLILIOLZIIOTLTIIOOLLTTLILZLTZZLLITOZTIZILZLTLZZTLLOTLZTLTILOIZLLLZZZ...

Second Run Input

play
1000
O
L
I
T
O
O
O
I
Z
L
Z
L
Z
T
T
I
O
Z
I
I
I
L
L
T
O
O
O
Z
L
T
T
L
T
T
I
L
O
O
L
I
I
T
L
L
I
I
I
O
L
I
Z
L
L
I
O
I
I
L
Z
O
I
L
Z
L
O
Z
Z
T
O
L
O
Z
T
I
L
O
L
L
L
L
T
I
I
I
T
L
L
O
Z
T
T
L
I
O
I
L
I
O
O
L
L
O
L
L
L
O
O
I
T
T
T
I
L
I
I
I
T
L
L
I
T
T
O
L
I
I
I
O
O
T
O
I
T
T
L
O
O
O
Z
T
Z
L
T
O
T
...

Second Run Output

**...
**...
.....
.....
.....

##...
##...
*....
*....
**...

.#...
.#...
****.
.....
.#...

.#...
.#...
####.
.***.
.#*..

.**..
.**..
#.##.
..##.
..#..

.#**.
.#**.
#..#.
...#.
.....

.###.
.###.
#**#.
.**#.
.....

.###.
.###.
####.
.###.
****.

**...
.**..
#....
.....
#....

##...
.##..
#*...
.*....

result:

ok good job!

Test #32:

score: 100
Accepted
time: 318ms
memory: 6636kb

First Run Input

prepare
1000
TL LT IO LZ OT TI LT ZL IZ OL TI ZT OL ZT OL ZT IZ IO IZ IT TI TO TO IT TL TI IT TZ TI TI ZT TO ZI TI LZ ZO LI TZ TL LI OL TO ZO LI IZ ZI IO OI IZ IT OZ OI OT TO IZ IZ ZL TO LT TO LT IO ZI TZ OT ZI TO OT IZ TL IO IZ IL LT LZ IT LT LT TI LZ TL ZL ZI LO LO TO ZI IL ZT LI IZ LT LT LT LI IZ...

First Run Output

LLOZOILZZLTTLZLZIOIIITTITIITIIZTITZOITTILTZIIIIOIIZIOTIILOLTLIITTZOTITOIITLITLIZTLILOTILTIZLTLIZIZZILIZOTZILIILLTTIOITOTLITLILILIOLOIILOZIOZZLOLOILZILTTLILOTLLOIIZTILOILOZTTOOLTOOLLZZOZLZLITILTLOZZIOLZOZIIZILLOOLOTTTZZIZZZOOTLTLTOIOLZOILZTLTLIOIZILLIOZLIOZIOLIOIOLILILLOLLOLILITTTTTTOTOLOOLOLLLTITTTT...

Second Run Input

play
1000
L
L
O
Z
O
I
L
Z
Z
L
T
T
L
Z
L
Z
I
O
I
I
I
T
T
I
T
I
I
T
I
I
Z
T
I
T
Z
O
I
T
T
I
L
T
Z
I
I
I
I
O
I
I
Z
I
O
T
I
I
L
O
L
T
L
I
I
T
T
Z
O
T
I
T
O
I
I
T
L
I
T
L
I
Z
T
L
I
L
O
T
I
L
T
I
Z
L
T
L
I
Z
I
Z
Z
I
L
I
Z
O
T
Z
I
L
I
I
L
L
T
T
I
O
I
T
O
T
L
I
T
L
I
L
I
L
I
O
L
O
I
I
L
O
Z
I
O
Z
Z
L
O
L
O
...

Second Run Output

*....
*....
**...
.....
.....

#....
#....
##***
..*..
.....

#**..
#**..
.....
..#..
.....

###.*
###**
...*.
..#..
.....

###.#
**...
**.#.
..#..
.....

###.#
##..*
##.#*
..#.*
....*

###..
##***
##*#.
..#..
.....

###..
.....
####*
..#**
...*.

###..
.....
.....
**###
.**#.

###..
.*...
.*...
.**...

result:

ok good job!

Test #33:

score: 100
Accepted
time: 324ms
memory: 6564kb

First Run Input

prepare
1000
TO LO ZO OL OT LI ZO TL ZI IT OL TL TZ IL IO ZL ZI IT IZ OL OL IT OT IZ LI IT LT ZT TO ZT TL TO IL OL ZI ZL LT ZL OL LT LI OI LZ ZI OT IL LZ ZI IT ZO ZI LO LT TL ZL IL TZ ZI OZ ZT OI TZ TZ LI ZO IL LO OI OT IZ IL IT OI TO IL OT OI IZ OL TO ZI OL IZ TO OT OL ZI ZL TO IT LI IO ZT ZT TO LZ...

First Run Output

OOOLTIOLZTOTTLILITZOLIOZITLZTTLTLOILLLLLLILITILITZIOLTLITIOZITTIOLOOTZITIOLOIZLTIOZOOOZLOTIOTZTZLLIZTLOLIITIZITTILOLZZZTIILLOLTLOOTOLLTLIIIZLIZOTTLTZITZOTTLIOZLOLLZOLOLZZLIOZLOLLLTTZLLLLZTLZOOZTTLOLOLTILZTTOOLIOTOLZTZOLOOLTZZOZTOTLOTOLTITLILLLLLLLLIIILTLLITTILZITTLLZOLTLLZLTTTZITZOTTTLLOOLIILLZOLOLL...

Second Run Input

play
1000
O
O
O
L
T
I
O
L
Z
T
O
T
T
L
I
L
I
T
Z
O
L
I
O
Z
I
T
L
Z
T
T
L
T
L
O
I
L
L
L
L
L
L
I
L
I
T
I
L
I
T
Z
I
O
L
T
L
I
T
I
O
Z
I
T
T
I
O
L
O
O
T
Z
I
T
I
O
L
O
I
Z
L
T
I
O
Z
O
O
O
Z
L
O
T
I
O
T
Z
T
Z
L
L
I
Z
T
L
O
L
I
I
T
I
Z
I
T
T
I
L
O
L
Z
Z
Z
T
I
I
L
L
O
L
T
L
O
O
T
O
L
L
T
L
I
I
I
Z
L
I
Z
O
T
...

Second Run Output

**...
**...
.....
.....
.....

##**.
##**.
.....
.....
.....

####.
####.
**...
**...
.....

####.
####*
##***
##...
.....

####.
.....
.....
##***
...*.

####*
....*
....*
....*
...#.

**...
**..#
....#
....#
...#.

##...
##..#
*...#
*...#
**.#.

.#...
.#..#
**..#
.**.#
.#.#.

.....
..*.#
#***#
..#...

result:

ok good job!

Test #34:

score: 100
Accepted
time: 306ms
memory: 6768kb

First Run Input

prepare
1000
IZ TL OZ ZO TL ZT IL OZ LZ ZL ZT ZL IT OT IZ TZ IO TO IT LI IL OI TI IO OT OL IO OZ ZT TI TI OI TO OL LT IZ ZI IT ZI IT IT OT IZ LO LO OZ ZI TO TO LZ TI ZL LT IL LZ LZ TZ IL TO ZL IT OT OI IT IT IO OZ IO OZ TZ ZO LI IZ LT ZI LI OZ LO LO OZ IO IO IL TI TZ LO TO OL TL ZT IT LI IZ ZO TO LI...

First Run Output

ITZOTTIOLLTZIOZTOOIILITIOLIZZIIOTLLIIIIIITILOOITTZTLTLZZTIOZITITIIZIZTZIILILZOLZOOLIZLOOTTILIZTIOTLTZOLZTZILLIZZOZIZITTOZOOLTZIOOLZITTITIOILLTOLOTITILLOILZLILLLLTLLIOLOLIITIIOLZIOOLZLLOZIZTZTOTLOIOIILZLOLOOLLIOZTZTLIOLLOTLTZTLIILOLZZLTLITOLOILZLTTLTIOOTLZLOOTTOITZTZTLIOTTLIILOZTIIZLLTTILZLTZZLZIIOIT...

Second Run Input

play
1000
I
T
Z
O
T
T
I
O
L
L
T
Z
I
O
Z
T
O
O
I
I
L
I
T
I
O
L
I
Z
Z
I
I
O
T
L
L
I
I
I
I
I
I
T
I
L
O
O
I
T
T
Z
T
L
T
L
Z
Z
T
I
O
Z
I
T
I
T
I
I
Z
I
Z
T
Z
I
I
L
I
L
Z
O
L
Z
O
O
L
I
Z
L
O
O
T
T
I
L
I
Z
T
I
O
T
L
T
Z
O
L
Z
T
Z
I
L
L
I
Z
Z
O
Z
I
Z
I
T
T
O
Z
O
O
L
T
Z
I
O
O
L
Z
I
T
T
I
T
I
O
I
L
L
T
O
L
O
...

Second Run Output

****.
.....
.....
.....
.....

####*
...**
....*
.....
.....

**...
.**##
....#
.....
.....

##...
.####
**..#
**...
.....

##...
.####
##..#
##***
...*.

##...
.####
##..#
***..
.*.#.

#****
..###
#...#
#.#..
...#.

**...
**###
#...#
#.#..
...#.

##***
..*..
#...#
#.#..
...#.

.....
..#..
#***#
#*#...

result:

ok good job!

Test #35:

score: 100
Accepted
time: 317ms
memory: 6528kb

First Run Input

prepare
1000
OT OT LO IL IT ZI LI IL LO LI TZ TL ZT ZT IL ZL ZO OT ZI IL ZI OT TZ ZO OL TZ OZ OL IO IO TI OI LI ZT OI TL ZO TZ ZL IL IO TO IZ OZ TO IL IL LO LI IT IO OL LT LO ZL LZ IT TI OT IT OI TL IL TI LT LT ZT TO OZ IT TZ TO LT OT IL TL ZI OI TZ TZ IO TI OL OT TO IO OI IO LZ OL LO OI LO TL TI IL...

First Run Output

OOOLTIILLLTTZTLLOOILITTOLZOLOOIILZITZTLLITIZOLLOLIIOTOLZTITTILLITLTTZTTTLOLLIITZIILOTIOILLLILLILILOZLZZIZZLIOLIZTLIIITLLOLITTIOITLOILIIITITZLIOTIIZOLOLILILOOLOLTTZLIIOLLITOOITTITILLLOOTTTTIIOOILTTIITIIZOLOTILLOITITZTLZTZLOOLTZILZLILLZLIZTLITLTOLLOTZTTZLILLIOLOOZTLTIILLZOLOIOLOIILTIIOLZLTLILLTZTTIZOZ...

Second Run Input

play
1000
O
O
O
L
T
I
I
L
L
L
T
T
Z
T
L
L
O
O
I
L
I
T
T
O
L
Z
O
L
O
O
I
I
L
Z
I
T
Z
T
L
L
I
T
I
Z
O
L
L
O
L
I
I
O
T
O
L
Z
T
I
T
T
I
L
L
I
T
L
T
T
Z
T
T
T
L
O
L
L
I
I
T
Z
I
I
L
O
T
I
O
I
L
L
L
I
L
L
I
L
I
L
O
Z
L
Z
Z
I
Z
Z
L
I
O
L
I
Z
T
L
I
I
I
T
L
L
O
L
I
T
T
I
O
I
T
L
O
I
L
I
I
I
T
I
T
Z
L
I
O
T
I
...

Second Run Output

**...
**...
.....
.....
.....

##**.
##**.
.....
.....
.....

####.
####.
**...
**...
.....

####.
####*
##***
##...
.....

####.
.....
.....
##***
...*.

####*
....*
....*
....*
...#.

.....
****#
....#
....#
...#.

*....
*....
**..#
....#
...#.

#.*..
#.*..
##**#
....#
...#.

#.#..
#.#..
*....
*.....

result:

ok good job!

Test #36:

score: 100
Accepted
time: 310ms
memory: 6564kb

First Run Input

prepare
1000
TL LO TL OL TZ LO TI LI ZL OI OZ IO OZ LO IT IT OT OI OT ZL LO OI TI ZO IL OL LO ZL IL IL TO IL IO TL TI IZ IT ZO LO ZI ZO LZ OL LZ TI ZI IO IT OT LZ IZ OL TI LZ IL ZL ZT TI TZ ZO LO OL ZL ZI LZ TI OI LO IZ TI LI TI ZI IL TL LT LT OL OL IT OI LO ZL LO TO OI IO IL TZ ZT IL TZ LT OL IO TZ...

First Run Output

LLLOZLTILIOIZLIITOOLLITOLOLLILTLOLTIIZOIOZLZTZITOLZLTLILZTTOLLZILTIOZIIIILLTLLLTIOLLTIOLZTITLLOTOTOLOLZTZTTZLLIOZOOOZZIIOIOLLOITTZZTILILOOOIOOLIIILILOOLOZIIITLLITOZTOOILILLZOLZTOOLOLIZZLTOIZOOILTLIOTTTIZIIOLIZOTTILLIOLOOLOTZLOIOITZLTIZOZLOZIILOIOLITILTTILZIIOLLIZOIZOLITIZTTOLOLOOTLIOTOTLTIOIZLTLZIIZ...

Second Run Input

play
1000
L
L
L
O
Z
L
T
I
L
I
O
I
Z
L
I
I
T
O
O
L
L
I
T
O
L
O
L
L
I
L
T
L
O
L
T
I
I
Z
O
I
O
Z
L
Z
T
Z
I
T
O
L
Z
L
T
L
I
L
Z
T
T
O
L
L
Z
I
L
T
I
O
Z
I
I
I
I
L
L
T
L
L
L
T
I
O
L
L
T
I
O
L
Z
T
I
T
L
L
O
T
O
T
O
L
O
L
Z
T
Z
T
T
Z
L
L
I
O
Z
O
O
O
Z
Z
I
I
O
I
O
L
L
O
I
T
T
Z
Z
T
I
L
I
L
O
O
O
I
O
O
L
I
I
...

Second Run Output

*....
*....
**...
.....
.....

#....
#....
##***
..*..
.....

#....
#....
*....
*.#..
**...

**...
**...
.....
..#..
.#...

##...
##*..
.**..
.*#..
.#...

#....
#.#..
*.#..
*.#..
**...

***..
.*#..
..#..
..#..
.#...

###..
*##..
*.#..
*.#..
*#...

.##..
.##..
..#..
..#.*
.#***

.#...
.#...
.....
***...

result:

ok good job!

Test #37:

score: 100
Accepted
time: 326ms
memory: 6640kb

First Run Input

prepare
1000
LZ LZ OT IT OT OL LZ ZI ZI OL ZT OI LO IL LO ZL OI IL ZI TI TO ZT IT TO OZ TL ZL TO OZ OL IZ ZT IZ OT ZL IO OL ZT TI TO LI IZ OI OI LI ZI IT TI TZ ZO TZ ZI OZ IT LZ IT LZ TZ IZ OT ZO TL OZ TZ IL ZO LI OI OL TI OT LI ZL LI IO ZI TL OI OL ZI IL ZL IT ZI ZT TI ZO TZ IO TO LZ LT ZI LZ ZI TZ...

First Run Output

ZLOIOOZIILZILLOLIIZTTTIOZTLOOLITZTLOOTITLIIIIITIZZTZOTLILTITZTOTIZLOLTTILIIILOLILZTZTTOTITLTILZZLLTIIZLLLIZTTTTTTIOTILTLZILOZZOTLIOLZTLITIZTTLTTOILLOLZOLZTOTOLLOLZZIOLTIOTZLOOTIIIIIOLZLOOLIOLLILILIITLLLLOOTTLOITOLTIOZLTLTOOZLZLTLLITOLOLOLLOLITILLITTLLOLTOTZZLOLOLTTILZTLZOTLIIIITLLIOLIOILZTTLOLLTILLI...

Second Run Input

play
1000
Z
L
O
I
O
O
Z
I
I
L
Z
I
L
L
O
L
I
I
Z
T
T
T
I
O
Z
T
L
O
O
L
I
T
Z
T
L
O
O
T
I
T
L
I
I
I
I
I
T
I
Z
Z
T
Z
O
T
L
I
L
T
I
T
Z
T
O
T
I
Z
L
O
L
T
T
I
L
I
I
I
L
O
L
I
L
Z
T
Z
T
T
O
T
I
T
L
T
I
L
Z
Z
L
L
T
I
I
Z
L
L
L
I
Z
T
T
T
T
T
T
I
O
T
I
L
T
L
Z
I
L
O
Z
Z
O
T
L
I
O
L
Z
T
L
I
T
I
Z
T
T
L
T
T
O
...

Second Run Output

**...
.**..
.....
.....
.....

##...
.##..
.*...
.*...
.**..

#..**
..#**
.....
.....
..#..

#..##
*.###
*....
*....
*.#..

**.##
**###
.....
.....
..#..

##.##
**...
**...
.....
..#..

##.##
##...
##*..
.**..
.*#..

#..##
#****
#.#..
..#..
..#..

#..##
...*.
#.#*.
..#*.
..#*.

#***#
.*...
#.#..
..#...

result:

ok good job!

Test #38:

score: 100
Accepted
time: 323ms
memory: 6640kb

First Run Input

prepare
1000
TZ IL LO OI TI LT IZ ZT IL ZI LI TI ZT IO IL TO OZ LO TL IO ZL ZI OL ZT IZ OL ZI TO TL ZI TI OL OZ LI ZT LI TZ IT ZL TZ IL IL LZ IO ZI TO TO OZ ZL LI OZ TI TO IL IZ ZL ZI LO ZO IO TL ZL TZ IT LI OI ZT ZL TI LO OI LO TZ ZT IL LO TZ OL ZI LZ TO TI IL OL LO IZ LZ IL TI LT OT IZ ZL ZT ZO OL...

First Run Output

TILITLIZIIIIZIIOZLLIZIOTILIOLZTLZLTLTTLTIILIIOOZLIZTOIIZILZILLTTIITLTLILZTLLTLIZTILOLZLLTLOIZTOLLOZLIZTZTLLILIOZZZILLIZLILLIZTLTIOZTIZLLITTLLLOILLIZLLIIOZZLOOZOLIILTLLILLLTILZTLTTIOIIOZOLZIILLILZTTIZOTOLTTZITLITIOTOLOLTTITLTIOZITIIZLLILTZIZZZTIIOZOZTLTTZLTZTOLTITLTLLLITTZLTITOTLITTTTLOZLLTZITLITTIOL...

Second Run Input

play
1000
T
I
L
I
T
L
I
Z
I
I
I
I
Z
I
I
O
Z
L
L
I
Z
I
O
T
I
L
I
O
L
Z
T
L
Z
L
T
L
T
T
L
T
I
I
L
I
I
O
O
Z
L
I
Z
T
O
I
I
Z
I
L
Z
I
L
L
T
T
I
I
T
L
T
L
I
L
Z
T
L
L
T
L
I
Z
T
I
L
O
L
Z
L
L
T
L
O
I
Z
T
O
L
L
O
Z
L
I
Z
T
Z
T
L
L
I
L
I
O
Z
Z
Z
I
L
L
I
Z
L
I
L
L
I
Z
T
L
T
I
O
Z
T
I
Z
L
L
I
T
T
L
L
L
O
I
L
...

Second Run Output

***..
.*...
.....
.....
.....

###..
*#...
*....
*....
*....

.##..
.#...
.*...
.*...
.**..

..#..
****.
.....
.....
..#..

..#..
####.
.***.
..*..
..#..

.....
##*#.
.#*#.
..**.
.....

....*
####*
.###*
..##*
.....

....#
.....
.####
**###
.**..

****#
.....
.####
.....
.##..

*....
*....
*####
*.....

result:

ok good job!

Test #39:

score: 100
Accepted
time: 317ms
memory: 6616kb

First Run Input

prepare
1000
IZ TI IL IO IL OT OT IT ZI OL TZ OT TZ ZO TZ IL OZ OL LZ OT OL ZO LO LZ TO IL TL IL OZ IO OT TZ ZT OL ZO OZ IL ZT TO ZI ZI ZO ZI ZO OZ IL IT IL OI OI OZ LT ZI TO OT TO LT LO TL OL IT IL OI LI OL TL TI TO IT OZ OI IL OL OT TL ZL LT ZO TZ TO LT LT OT ZT OT OI LZ IO IO ZT LT LI TO TI LT TO...

First Run Output

ZTLOIOTTILTTTZTLZLZTLOOLOITLOITTTLOOLZOIIZIOZITLIIOTZTTTTOTLTLILLTIOIOOLOOTLLOTOLTTTTOLOITTLTILOZZOILITTZOIZZLLZLLIOITLITIZIZIIZLOOLTLOLZILLITLTTITZLLLLILLITLOTOTOTITLOTIILILLTLZOIIOTZTLTLOZOZOLOTTILLITIIOILOLLLIILOLOILLIOLTILTZILIOZILITLIOLZIZTTZOLZTILTOZOTLTLIZILOOTILLOLTITITOLOTLLOITITLITLITZIIOI...

Second Run Input

play
1000
Z
T
L
O
I
O
T
T
I
L
T
T
T
Z
T
L
Z
L
Z
T
L
O
O
L
O
I
T
L
O
I
T
T
T
L
O
O
L
Z
O
I
I
Z
I
O
Z
I
T
L
I
I
O
T
Z
T
T
T
T
O
T
L
T
L
I
L
L
T
I
O
I
O
O
L
O
O
T
L
L
O
T
O
L
T
T
T
T
O
L
O
I
T
T
L
T
I
L
O
Z
Z
O
I
L
I
T
T
Z
O
I
Z
Z
L
L
Z
L
L
I
O
I
T
L
I
T
I
Z
I
Z
I
I
Z
L
O
O
L
T
L
O
L
Z
I
L
L
I
T
L
T
T
...

Second Run Output

**...
.**..
.....
.....
.....

##***
.##*.
.....
.....
.....

*....
*###.
**...
.....
.....

#....
####.
##...
**...
**...

****.
.###.
.#...
.#...
.#...

#.##.
**##.
**...
.....
.....

#.##.
####.
##***
...*.
.....

#.##.
####*
...**
...#*
.....

#.##.
*....
*..##
*..##
*....

..##.
.....
***##
*.....

result:

ok good job!

Test #40:

score: 100
Accepted
time: 312ms
memory: 6564kb

First Run Input

prepare
1000
LI IL LI IT TO LT OZ ZI IL TL ZL LI LI IO IO TZ OI LT LO ZL ZT LZ TI TL ZL ZL LZ ZO OT OL TL OT OZ LZ IT TO LZ IZ ZI OI LT LO TZ ZO ZT ZO IL IZ LT ZT ZO TO ZL IO ZO TL LI TI OI LT IT OI OI IL IT OL OZ TZ IO LO LZ ZI TO OZ IT LI IZ IO TO IL OZ LT OZ IO IZ LT LO IZ TL ZI IZ TO IZ TZ TO OL...

First Run Output

IILTOLOIITLIIOOTOLLLTLITLLLOOLLTOLTTLZZITLTZZZLZLZZOLIOLLTOLIOOIIOZTOLLIOOIIIITLOTZIITLITIITIZOOZLITLZTLTLLOOLOTOLOIIIOLZOLITZZLZIZTIIIIIIOLOLTITLLLLOOIZITTIZILITILOTOIOIZZOOTIILLTTOIIIIOZIOZLOOOLTILILZZTLOIILOTTTIILTIITIIZZOLZLZTOOILZILIIIITLOOITOTLLIOLLLILZLTZTLTTTZTZOLLZTTOIZIIOLTLLILTIZIIILOZZZI...

Second Run Input

play
1000
I
I
L
T
O
L
O
I
I
T
L
I
I
O
O
T
O
L
L
L
T
L
I
T
L
L
L
O
O
L
L
T
O
L
T
T
L
Z
Z
I
T
L
T
Z
Z
Z
L
Z
L
Z
Z
O
L
I
O
L
L
T
O
L
I
O
O
I
I
O
Z
T
O
L
L
I
O
O
I
I
I
I
T
L
O
T
Z
I
I
T
L
I
T
I
I
T
I
Z
O
O
Z
L
I
T
L
Z
T
L
T
L
L
O
O
L
O
T
O
L
O
I
I
I
O
L
Z
O
L
I
T
Z
Z
L
Z
I
Z
T
I
I
I
I
I
I
O
L
O
L
T
I
T
...

Second Run Output

****.
.....
.....
.....
.....

####*
....*
....*
....*
.....

*....
*...#
**..#
....#
.....

#....
#***#
##*.#
....#
.....

#**..
.**..
###.#
....#
.....

###..
.##..
###*#
...*#
...**

###**
.##**
.....
...##
...##

*....
*####
*....
*..##
...##

#****
.....
#....
#..##
...##

...*.
..**.
#..*.
#.....

result:

ok good job!

Test #41:

score: 100
Accepted
time: 319ms
memory: 6636kb

First Run Input

prepare
1000
LZ OI TZ ZI OL OI OT OT TZ OZ LZ ZL IZ ZL OI IO ZT TL ZI IT LT IL LZ TZ LT IL OL LT TZ TZ LZ LO IO IT LZ IZ IL IL LI OL TI LZ OI LZ LZ ZL TZ OI ZT LO IL OT OZ TZ OL OZ IT ZO LT TI LO TL TL LI TO OT ZL LZ ZL LI ZT OL LT TI ZI IZ IT IT LI IZ OZ IT LI ZO LO LZ ZI ZT LT LZ LI OZ OL IO LT LI...

First Run Output

ZITZOITTZOZLZLOITTIILILZLIOTTTZOITLIIILLIZOZLLTOZLLTOZLZIOTTOTTLOTLZLITOLTIITILIZILZLLITLLLOLOLLLOIOZIOLOLZLTLTTTZLLIIIZZOLTLOILILLIILLLITZZTIZTIZOLLIIZZLTOOITTITITLOITOZIIILLLLOLLTLLILIILLOLOTLTIILLLLLITLIOIOIOIIILLIZLTOOLTLTIIOZIILLLLIIIIZTILLLTOOTLLOLZLTLOOTIIILLILZLZZTTTOLOOLOTZLTIZZTZZTOIOTIZTI...

Second Run Input

play
1000
Z
I
T
Z
O
I
T
T
Z
O
Z
L
Z
L
O
I
T
T
I
I
L
I
L
Z
L
I
O
T
T
T
Z
O
I
T
L
I
I
I
L
L
I
Z
O
Z
L
L
T
O
Z
L
L
T
O
Z
L
Z
I
O
T
T
O
T
T
L
O
T
L
Z
L
I
T
O
L
T
I
I
T
I
L
I
Z
I
L
Z
L
L
I
T
L
L
L
O
L
O
L
L
L
O
I
O
Z
I
O
L
O
L
Z
L
T
L
T
T
T
Z
L
L
I
I
I
Z
Z
O
L
T
L
O
I
L
I
L
L
I
I
L
L
L
I
T
Z
Z
T
I
Z
T
I
...

Second Run Output

**...
.**..
.....
.....
.....

##...
*##..
*....
*....
*....

.#...
.##..
.*...
**...
.*...

..**.
..#**
.....
#....
.....

**##.
**###
.....
#....
.....

####.
.....
.....
#****
.....

####*
...**
....*
.....
.....

.....
***##
.*..#
.....
.....

**...
.**..
.#..#
.....
.....

##...
.##..
.#..#
**....

result:

ok good job!

Test #42:

score: 100
Accepted
time: 318ms
memory: 6640kb

First Run Input

prepare
1000
IT TO OT IL IO TO IZ ZT TL ZT LO TI TO OL TI OI IO OT LO OI IO IZ IZ TL ZL IL IO LT LI LT ZL TI LZ OI ZO LO OZ IZ ZL IT LZ LO LI IO IO ZT IT OL LT IT IL ZO ZO ZI TL LZ LT IO OZ IZ LT TI OT ZI LZ TO LI IO LO OI OZ TI LI TZ IO TO ZO IO TI OL LI IZ TI ZI TL ZT OI ZT IL IO OT LZ OL IO ZO OZ...

First Run Output

IOTIOTZZLTLIOOTIOTLOIZZLZIOLLTLILOOLZILILLIIIZILTILZZITZTIZZLIOZLTLILOZILZITZITLIITITTOZIITLLIZZLZIZLOILLLLLIILILITIOLLIIOOLOLTOOLLZTLTILLTLIOLILTTLOILZITLILTTZOLZLIITLOZILIZLZIILTILIOLZTILOLLIZTOTZIZIIOZTTITZITIOLOILIZOIIIZTZOOTIIZLIOLLZOTLLLLOZIZLOTZTZIZOTITLOLLZTLLOTLLOOTTIZLIZTLITOOIZIZZIZTOTILI...

Second Run Input

play
1000
I
O
T
I
O
T
Z
Z
L
T
L
I
O
O
T
I
O
T
L
O
I
Z
Z
L
Z
I
O
L
L
T
L
I
L
O
O
L
Z
I
L
I
L
L
I
I
I
Z
I
L
T
I
L
Z
Z
I
T
Z
T
I
Z
Z
L
I
O
Z
L
T
L
I
L
O
Z
I
L
Z
I
T
Z
I
T
L
I
I
T
I
T
T
O
Z
I
I
T
L
L
I
Z
Z
L
Z
I
Z
L
O
I
L
L
L
L
L
I
I
L
I
L
I
T
I
O
L
L
I
I
O
O
L
O
L
T
O
O
L
L
Z
T
L
T
I
L
L
T
L
I
O
L
I
L
...

Second Run Output

****.
.....
.....
.....
.....

####.
**...
**...
.....
.....

####.
##***
##.*.
.....
.....

####*
....*
##.#*
....*
.....

**...
**..#
##.##
....#
.....

##*..
##**#
##*##
....#
.....

###..
**...
.**..
....#
.....

###..
##...
.##..
**..#
.**..

#.#..
#....
..#..
#***#
.*#..

#.#..
#....
*.#..
**....

result:

ok good job!

Test #43:

score: 100
Accepted
time: 313ms
memory: 6608kb

First Run Input

prepare
1000
TO ZI OT IO IZ ZL IT LZ LI IO IZ OI ZL OI IL ZL LZ LT LZ TI OI LZ IO LT OT TL TI TO LZ LI TZ LZ IZ ZI IO TZ LT LO IT LZ LZ LT ZI IL IO IT OI LT IO ZO OT OZ LO ZT LT OL TZ OZ IT IO TO OZ TO TI ZO OT ZI ZO IL IT LO LZ LZ LO LI TZ IT LO ZO OL ZO ZI ZL LI IL TI ZO ZO LT LT ZI OL TI ZI OT ZT...

First Run Output

OZTOIZTZIIIIZILZLLLIILOLOLITLLTLZIOZLOILLLIIITILIZOZLTTOTZTITZTIOOIZLILLLOLTIOOLZZLLITOOTLILIITTOLZLILLOLTOLZTIOLLLILTIOOLILTTLTZIIITZTITLZILOZTZTOLTZTILOIOTIIZILIOOTILITTLIZZOLLTOLTTTIZIOTIZLILLOZTIILOLOOLTILLTZLTIOILZZOZZOZTOOTIOOLOOLTTIITLIOITLLLLTOZLOLTLOTLTLOLTOLLTOTTITLTTILITLTOLOTZLOIZILTITZI...

Second Run Input

play
1000
O
Z
T
O
I
Z
T
Z
I
I
I
I
Z
I
L
Z
L
L
L
I
I
L
O
L
O
L
I
T
L
L
T
L
Z
I
O
Z
L
O
I
L
L
L
I
I
I
T
I
L
I
Z
O
Z
L
T
T
O
T
Z
T
I
T
Z
T
I
O
O
I
Z
L
I
L
L
L
O
L
T
I
O
O
L
Z
Z
L
L
I
T
O
O
T
L
I
L
I
I
T
T
O
L
Z
L
I
L
L
O
L
T
O
L
Z
T
I
O
L
L
L
I
L
T
I
O
O
L
I
L
T
T
L
T
Z
I
I
I
T
Z
T
I
T
L
Z
I
L
O
Z
T
Z
...

Second Run Output

**...
**...
.....
.....
.....

##**.
##.**
.....
.....
.....

####.
##*##
.**..
..*..
.....

####.
...**
.##**
..#..
.....

####.
*..##
*####
*.#..
*....

.###.
**.##
.**..
..#..
.....

.###.
##.##
.##..
.*#..
***..

**##.
#**##
..#..
..#..
#.#..

##.#.
.....
.....
.....
#****

##.#.
*....
*....
*.....

result:

ok good job!

Test #44:

score: 100
Accepted
time: 313ms
memory: 6588kb

First Run Input

prepare
1000
LT IO OZ ZT IZ TZ IO LZ ZL TZ ZI OI LZ OL LO ZO OI TL TO ZL LT IT IZ TL ZI ZO TI OL IZ TO LI OZ ZI IT ZT TL TI TZ ZL ZT ZL OI OT ZL LT IT OZ LO IL ZI IO IT TZ ZT IO IO ZL IT TO ZO TO OI OL TZ TO ZI OT LZ OI OL IT LT IZ ZT IO OZ IL OI OT TL OL OZ IT OI LT IZ LI OI IT OZ IT IT LT TO LZ ZL...

First Run Output

LIZTITILLZIILOOOOLOZTIZLIOILITLOZITLITZTZOOLLTOLLZIITZIILIOZTOLTTITZOOITZZOZIOTLLZTILILOIOTILTLLTOLOZLILTLZITTILTIIOZZLTTZLITTILTTOTILTLIOILZTZLOZLOTZTTILZLZZLZTOTTILILOOLZOZLTOTZOLLITTZIZTTIIZOZLZIOTLILOLLOOLOITZZTILTOZITITOZIZIOITLOTZTZIIILOLOTITLLOTIZZIIZLLLOTLTTITILLLLOILZTLOITOLITTTLTTIILOITZOL...

Second Run Input

play
1000
L
I
Z
T
I
T
I
L
L
Z
I
I
L
O
O
O
O
L
O
Z
T
I
Z
L
I
O
I
L
I
T
L
O
Z
I
T
L
I
T
Z
T
Z
O
O
L
L
T
O
L
L
Z
I
I
T
Z
I
I
L
I
O
Z
T
O
L
T
T
I
T
Z
O
O
I
T
Z
Z
O
Z
I
O
T
L
L
Z
T
I
L
I
L
O
I
O
T
I
L
T
L
L
T
O
L
O
Z
L
I
L
T
L
Z
I
T
T
I
L
T
I
I
O
Z
Z
L
T
T
Z
L
I
T
T
I
L
T
T
O
T
I
L
T
L
I
O
I
L
Z
T
Z
L
O
...

Second Run Output

*....
*....
**...
.....
.....

#****
#....
##...
.....
.....

**...
#**..
##...
.....
.....

##***
###*.
##...
.....
.....

....*
####*
##..*
....*
.....

....#
...*.
##**#
...*#
.....

****#
...#.
.....
...##
.....

.....
...#.
.....
***##
*....

*....
*..#.
**...
.....
#....

#....
#..#.
##...
**....

result:

ok good job!

Test #45:

score: 100
Accepted
time: 315ms
memory: 6828kb

First Run Input

prepare
1000
OT LI TZ IL LO IL OZ IZ TZ IL OZ TI ZT OI ZI IT IZ OL ZT OI OL OL LO TO TO OZ OZ ZT OL LZ OI IZ IT ZO ZL OL IO OL ZI ZI ZO LZ ZT LI LI IO IT ZL OI OI ZL LI ZT IL TO IL ZI TI ZL ZT ZL LZ ZI TZ IZ TZ TI LO ZI LT LZ ZT TO ZO IO LI TZ TO OZ OT LZ IL LT OT OT OI TI LT OT IL OZ OT OZ LI LT TL...

First Run Output

TLTIOLOZTIZITIITIOTILOLTOOOTLLOIIZLLILZIOLTIIITLOIZITITLITLZLZZTITIOZLLTOZIITOOTLILTOITTOLZOOILLLZIZTLTZLILOOLZOTZITOOLTOLTTOLOZIZOTOLTLTOLZOTLILIIOZIZZTTLIZLTOTOTIOLLIIOLZOLIITTZIZZLOLIZOIIITTLTTILLLIOOLOLLLIIILOLOLOILLOLOIILOLIZTLTIIILOOLILOLOITTLLOLLOLZIILOZZLZIITZLTLOLZLOOZZLTLOLTOZTTLLILILIOZLL...

Second Run Input

play
1000
T
L
T
I
O
L
O
Z
T
I
Z
I
T
I
I
T
I
O
T
I
L
O
L
T
O
O
O
T
L
L
O
I
I
Z
L
L
I
L
Z
I
O
L
T
I
I
I
T
L
O
I
Z
I
T
I
T
L
I
T
L
Z
L
Z
Z
T
I
T
I
O
Z
L
L
T
O
Z
I
I
T
O
O
T
L
I
L
T
O
I
T
T
O
L
Z
O
O
I
L
L
L
Z
I
Z
T
L
T
Z
L
I
L
O
O
L
Z
O
T
Z
I
T
O
O
L
T
O
L
T
T
O
L
O
Z
I
Z
O
T
O
L
T
L
T
O
L
Z
O
T
L
I
L
...

Second Run Output

***..
.*...
.....
.....
.....

###..
.#...
.*...
.*...
.**..

#.#..
..*..
.**..
..*..
..#..

#****
.....
.#...
.....
.....

**...
**...
.#...
.....
.....

##...
##...
*#...
*....
**...

.#**.
.#**.
.#...
.....
.#...

.###.
.###.
.#...
.**..
.#**.

..##.
..##.
..***
..#*.
..##.

.....
.....
****#
......

result:

ok good job!

Test #46:

score: 100
Accepted
time: 316ms
memory: 6848kb

First Run Input

prepare
1000
LT OZ IL ZL IO ZL IZ TZ TL LT TZ TZ LZ ZI LI TZ IL LT TZ ZO IZ IO LT OL LI IO ZT OL LT ZO LI ZT ZL LO OZ TL IZ IL OZ LT LI LT TO OZ LO TZ ZI ZL OZ OL IT IZ OI TL ZT ZL IO OT TZ OT IL IZ OZ ZL TI TL OL LT ZO TL OT OL TO TI OZ IO IO IO LT TO IZ TL OZ LT ZO OI OZ ZI IT OL ZO IO IO IT LT ZI...

First Run Output

TOLLOLZTLTTTZZITILZOIOTLLITLLOITLOOLIIOLITTOLZILOLTIITTLITTTLZOLILLTZLOLTTZIIOTOITOLZOOIILZIIILILTZLOOOILLLTIILITLTTLZOLLTIIZZIOZITTZZZLILTLZTTTOLLTOLOLZLITITZTLTTLOTIZLLLIIZLOTOOOTOIZIOIZIIOLOLOLOTZZZLLZTZIZIITOTTLIOLITITLOOLOLZILZILLITIIILOOIZITOLLIIIIZIZLTOOIOTLOITZTTLTIZZTLLLLOILZZILIZIOZLOOOLTZ...

Second Run Input

play
1000
T
O
L
L
O
L
Z
T
L
T
T
T
Z
Z
I
T
I
L
Z
O
I
O
T
L
L
I
T
L
L
O
I
T
L
O
O
L
I
I
O
L
I
T
T
O
L
Z
I
L
O
L
T
I
I
T
T
L
I
T
T
T
L
Z
O
L
I
L
L
T
Z
L
O
L
T
T
Z
I
I
O
T
O
I
T
O
L
Z
O
O
I
I
L
Z
I
I
I
L
I
L
T
Z
L
O
O
O
I
L
L
L
T
I
I
L
I
T
L
T
T
L
Z
O
L
L
T
I
I
Z
Z
I
O
Z
I
T
T
Z
Z
Z
L
I
L
T
L
Z
T
T
T
O
...

Second Run Output

***..
.*...
.....
.....
.....

###**
.#.**
.....
.....
.....

*....
*#.##
**...
.....
.....

#.*..
##*##
##**.
.....
.....

#.#**
...**
####.
.....
.....

#.###
...##
####*
..***
.....

#.###
...##
.....
**###
.**..

#*###
***##
.....
.....
.##..

*....
*....
**...
.....
.##..

#....
#....
##***
......

result:

ok good job!

Test #47:

score: 100
Accepted
time: 319ms
memory: 6836kb

First Run Input

prepare
1000
LI LT OZ OZ IO LZ OL TZ LI IO LT TI OL IZ IL LO ZT LI TZ ZI IL OL ZL OL OI ZT IZ ZO TL OZ ZT ZI TI ZI IL IZ IO IO ZL OT OT ZI ZT ZO OI OT LT OZ LT OZ OI IT TO OL TO ZL ZI TZ IZ TI ZO IO OL LT ZT ZL ZL OT IL LZ ZO TO OI IT IO ZT TI ZI ZT OZ TI IT OT TI TO IZ TI ZL ZL IT LI TZ TZ ZI OZ IT...

First Run Output

LLZOIZLTLILILIILTLTIIOLLOTIOLZTIIIIIOOLOTIZOIOTOTZOTTLOLITITOILLZLLTIZOOIIITIIZOIIOITIILLILTTIZTLOIZOTOILOITTZTZLIIIOLILITITTTTTZTIITLLTOTZIITZLLZIIIOZLITOLOZOLOIOLOLOZZZZLIOIZLZLITLIOTTOIZIIOTLZTLLIOTLILTILLOIITLIZIIIILIITIIITLLLTOZITLLLTOOLOLOTZTITLOLLZTOTTZILZTLTILLZLZIOTIILZLILTZTIIOOZLIOITTOILI...

Second Run Input

play
1000
L
L
Z
O
I
Z
L
T
L
I
L
I
L
I
I
L
T
L
T
I
I
O
L
L
O
T
I
O
L
Z
T
I
I
I
I
I
O
O
L
O
T
I
Z
O
I
O
T
O
T
Z
O
T
T
L
O
L
I
T
I
T
O
I
L
L
Z
L
L
T
I
Z
O
O
I
I
I
T
I
I
Z
O
I
I
O
I
T
I
I
L
L
I
L
T
T
I
Z
T
L
O
I
Z
O
T
O
I
L
O
I
T
T
Z
T
Z
L
I
I
I
O
L
I
L
I
T
I
T
T
T
T
T
Z
T
I
I
T
L
L
T
O
T
Z
I
I
T
Z
L
L
...

Second Run Output

*....
*....
**...
.....
.....

#....
#....
##***
..*..
.....

#**..
#.**.
.....
..#..
.....

###..
#.##.
**...
**#..
.....

###..
#.##.
##...
###..
****.

.##..
..##.
.#**.
.##**
.###.

.#***
..*#.
.#.#.
.#.##
.#.#.

*##.#
**#..
*#...
.#..#
.#...

#.#.#
#.#..
#.*..
..*.#
..**.

#...#
#****
#....
......

result:

ok good job!

Test #48:

score: 100
Accepted
time: 319ms
memory: 6572kb

First Run Input

prepare
1000
TL LZ LT LO IZ ZO LO IZ LI IT IZ LI TL TO OZ OT OL LZ OI LZ ZO OZ TZ TO TO OI TZ TZ IZ OT OZ ZT IZ ZO OT TL TZ TZ LI ZT OI TO OZ ZT TZ LO TO ZT LT TI IO IO ZT ZL TO TO IO ZL LZ IT LT ZO IT TI LZ IZ TL OL TZ ZT OZ ZI LZ LO ZI IO IZ ZO ZT TI IT OT ZI IL ZT ZL ZI ZO OI LZ IL TO OI LT OT TL...

First Run Output

LLTOIOOIIIIILOOOOZILOOTOTIZTIOOZIOTLTTLZITOZZLTZLIOIZLOTILLTTOTTLZLOZTOZLLZIIZTTTTZITZIZIZIOILOLZOLTTOIOLOLLLTTTOILLIIIIZTLITOZZTTZTITZLIZLIIZOZTTLZOIIIITZOZLOZIZZTLITITLZZITILTTIOZITTLILTTOTZZOLZTTLLTOTTOOTIOLLIZZOOLIZLIIZOLTILLOLOLILTTOLLTITILLIILTTLLIITILZILOZOZLLOTLZTLZZZZTILTLIOIOTITTOTOZITOLZI...

Second Run Input

play
1000
L
L
T
O
I
O
O
I
I
I
I
I
L
O
O
O
O
Z
I
L
O
O
T
O
T
I
Z
T
I
O
O
Z
I
O
T
L
T
T
L
Z
I
T
O
Z
Z
L
T
Z
L
I
O
I
Z
L
O
T
I
L
L
T
T
O
T
T
L
Z
L
O
Z
T
O
Z
L
L
Z
I
I
Z
T
T
T
T
Z
I
T
Z
I
Z
I
Z
I
O
I
L
O
L
Z
O
L
T
T
O
I
O
L
O
L
L
L
T
T
T
O
I
L
L
I
I
I
I
Z
T
L
I
T
O
Z
Z
T
T
Z
T
I
T
Z
L
I
Z
L
I
I
Z
O
Z
T
...

Second Run Output

*....
*....
**...
.....
.....

#....
#....
##***
..*..
.....

#....
#....
*....
**#..
*....

**...
**...
.....
.##..
.....

##...
##...
****.
.##..
.....

##**.
##**.
####.
.##..
.....

####.
####.
####.
.##**
...**

###..
###..
###..
.##.#
****#

#****
#....
#....
....#
.....

.....
#****
#....
......

result:

ok good job!

Test #49:

score: 100
Accepted
time: 328ms
memory: 6572kb

First Run Input

prepare
1000
OI OI OI LZ IT OZ IL OT ZL TL OZ ZL TO TO LZ TI ZT ZO LO OL OZ LO LT ZO ZT LO IO LT OI LI ZI TZ OZ OT IL OZ TO TI TI ZI OT LZ TL LO ZL LO OT ZI TL IL TL ZI ZL TL LZ OT ZO TI IL TZ IL OT ZL TI LO OZ TO IZ IZ IZ OT ZT ZL OT TL ZL LO OZ TZ ZT TO ZL OT TL TO OT OZ ZT OT ZI LT LZ LZ TZ TZ TZ...

First Run Output

OIIZIZLTZLZZTTLTTZOOZLTZTLILOLIZZTLOTTTITZTLLOTILILIZLLTOTIZIOZILOTZIZOZLTLLLOTZOLOLTTZZOZLLLTTZOOLZLIOZIIITLIILTTLIITOZOTOZOLIOOLOLOZILOTLTITIIIITIOLLZZTLTLZOIITIOLLTTZOTTOTLOLIIITOOLIIILITITLOLIZIZLZTOIZTOTTLTLZOOIOLLZOILIITZTIZOILZLLOTOITLIOLILIILOLTIZOIIZLOIIZLZLILTOTLOIOTTLLLZOLLIIILOLIIIOLITLZ...

Second Run Input

play
1000
O
I
I
Z
I
Z
L
T
Z
L
Z
Z
T
T
L
T
T
Z
O
O
Z
L
T
Z
T
L
I
L
O
L
I
Z
Z
T
L
O
T
T
T
I
T
Z
T
L
L
O
T
I
L
I
L
I
Z
L
L
T
O
T
I
Z
I
O
Z
I
L
O
T
Z
I
Z
O
Z
L
T
L
L
L
O
T
Z
O
L
O
L
T
T
Z
Z
O
Z
L
L
L
T
T
Z
O
O
L
Z
L
I
O
Z
I
I
I
T
L
I
I
L
T
T
L
I
I
T
O
Z
O
T
O
Z
O
L
I
O
O
L
O
L
O
Z
I
L
O
T
L
T
I
T
I
I
I
...

Second Run Output

**...
**...
.....
.....
.....

##...
##...
****.
.....
.....

##..*
##..*
####*
....*
.....

##..#
##**#
...**
....#
.....

##..#
.....
...##
****#
.....

##**#
...**
...##
.....
.....

.....
***##
*..##
.....
.....

.....
..*..
#**##
..*..
.....

..**.
..#**
.....
..#..
.....

..##.
..###
...*.
..#...

result:

ok good job!

Test #50:

score: 100
Accepted
time: 324ms
memory: 6636kb

First Run Input

prepare
1000
ZO TO OI TL OZ ZO LT IZ LO OT TZ IL ZO OL ZI ZI ZT OI ZL LO OT OZ LZ ZT IL TL TO LT OT ZI TZ ZO TI TL TL TI TL TO IO OZ OL IT TO TI OT OI IT IZ IL LI TZ TI IT LO OZ OI TI OI TI TO ZL LZ TI ZO ZO OT LT LT TL IL TO IZ LT ZL ZT OL OI OT LZ ZT OZ LT TZ ZO IT ZO ZT TZ IZ IL IO LI ZL ZO IZ ZO...

First Run Output

OOILZOLZLOTLZOZITIZLTZLZILTLTITOILLITTIZLIOTTIIILIZTTLZITOTOLLTOZTTLLIOILLTLIOLZOLZOIZTZZLOLLOIOLZLLZIITOLLTTIZOOLTTZLOOOLTTLLLTTLTIOLITLIZTILIILLIOLLTOIOLILIIOZZLOILILOOOLZOOLZZLOLILLLTLLILLTOOTTZLLZZTLIILOTIZTLZLLLIILLLILLOOIIILOOIZTIIZLIIOLIZIIZOTILTIOZZLOOZTTLOIZTTIITTLTTTZOLTOOLITLTLLTIIILLTLZL...

Second Run Input

play
1000
O
O
I
L
Z
O
L
Z
L
O
T
L
Z
O
Z
I
T
I
Z
L
T
Z
L
Z
I
L
T
L
T
I
T
O
I
L
L
I
T
T
I
Z
L
I
O
T
T
I
I
I
L
I
Z
T
T
L
Z
I
T
O
T
O
L
L
T
O
Z
T
T
L
L
I
O
I
L
L
T
L
I
O
L
Z
O
L
Z
O
I
Z
T
Z
Z
L
O
L
L
O
I
O
L
Z
L
L
Z
I
I
T
O
L
L
T
T
I
Z
O
O
L
T
T
Z
L
O
O
O
L
T
T
L
L
L
T
T
L
T
I
O
L
I
T
L
I
Z
T
I
L
I
I
L
...

Second Run Output

**...
**...
.....
.....
.....

##**.
##**.
.....
.....
.....

####*
####*
....*
....*
.....

*....
*....
**..#
....#
.....

#....
#**..
##**#
....#
.....

#..**
###**
.....
....#
.....

#**##
..*..
..*..
....#
.....

..**.
..#**
..#..
....#
.....

..##.
..###
..#*.
...*#
...**

..#..
..#.#
..#..
.**...

result:

ok good job!

Test #51:

score: 100
Accepted
time: 312ms
memory: 6552kb

First Run Input

prepare
1000
TL ZT OL TI LZ OT TI ZI TL OT IZ OL TL TI ZO IL OL TZ OI TZ LZ OI ZO LT ZI LT LI OT ZT TO TZ ZI LO IT ZL OZ OL ZO OT OZ LZ ZO LI OI ZI TO OL ZT IO LT ZL IL TO TI IT OZ ZO IO IZ TZ IZ ZT LZ IT OZ ZI OL IZ IO OZ IO ZL LO OT OL OT IT OL LT TI ZT OI IT ZI OZ LZ IO TL OZ LT IL ZO TI LO OI OZ...

First Run Output

LZOTLOIILTIOLTOILTIZLIZLITITZTZILILZLOTOLOLIZTOZITLLOTTZOIZZZZLIOZOZIZILOTLTIOLTTITZZLOTZTIZTLIOLTZZTZTLITTZTILLZLZIZLILITIZITOZOOITOLOTOZOLOIZLIZTZIILLIOTTZIZIOTTZOLTLTZIITTLILOLLTIIZLLIZLLTITOLLOTZZLIOTZLZTLTIZZTITOZTIILTILILTIIOLOLLLLTTIITILZTOZLZLTTLZOOLITOLOOLOZLIZLIIILZLOILLIOLOIITLLOOLITIIIIZ...

Second Run Input

play
1000
L
Z
O
T
L
O
I
I
L
T
I
O
L
T
O
I
L
T
I
Z
L
I
Z
L
I
T
I
T
Z
T
Z
I
L
I
L
Z
L
O
T
O
L
O
L
I
Z
T
O
Z
I
T
L
L
O
T
T
Z
O
I
Z
Z
Z
Z
L
I
O
Z
O
Z
I
Z
I
L
O
T
L
T
I
O
L
T
T
I
T
Z
Z
L
O
T
Z
T
I
Z
T
L
I
O
L
T
Z
Z
T
Z
T
L
I
T
T
Z
T
I
L
L
Z
L
Z
I
Z
L
I
L
I
T
I
Z
I
T
O
Z
O
O
I
T
O
L
O
T
O
Z
O
L
O
I
Z
L
I
...

Second Run Output

*....
*....
**...
.....
.....

#**..
#.**.
##...
.....
.....

###..
#.##.
##...
**...
**...

*##..
**##.
*#...
.#...
.#...

#.#..
#.##.
#.*..
..*..
..**.

#....
#..#.
#....
**...
**.#.

****.
...#.
.....
.#...
.#.#.

####*
...#*
....*
.#..*
.#.#.

.*...
.*.##
.**.#
.#..#
.#.#.

.....
***##
.*#.#
......

result:

ok good job!

Test #52:

score: 100
Accepted
time: 323ms
memory: 6568kb

First Run Input

prepare
1000
LO ZO OT ZO ZT OT LT LI ZT OZ LI TL LZ ZO TO LI OT IZ IT IO TI OZ OI LT IO LT LZ IO IZ ZL IT IL OZ TI ZL IO IL LT LT OL ZL OZ IT TL ZT OL TI TO IO ZL TI ZI IO OL ZI TI IZ LT IO OL LT TZ IT TZ IO OT OT LI ZT IL TL ZL IT IZ LO TZ IL TI IT TO OI ZI IO LO IT IO TZ ZL TL TZ OZ ZO TI TL OL TI...

First Run Output

OZTZTOLIZZLLZZTITZIOIZILILLOZLILOTLIITLOZOTLTOTOOLIZIOZTITOOLZITOTOLTLTLTZLTIITTIZOLIITZTTZZILLTITZILLITOTLIIOTLLOOILOLILOZILITIZTIILTILILLTIZZLTZLIIOLOOLTLTLTTIOIILOZILTLTTOLOZOTTZOLILLLOLTITZTIILILOIZLOTOZLLZTZITTLIOOTILOLOILIOILTLOLTTLOILZZOILTITLITIIITIOOLLIOOLLIZTZOILTITLZLIOITTILLITTIIIIZTLOOL...

Second Run Input

play
1000
O
Z
T
Z
T
O
L
I
Z
Z
L
L
Z
Z
T
I
T
Z
I
O
I
Z
I
L
I
L
L
O
Z
L
I
L
O
T
L
I
I
T
L
O
Z
O
T
L
T
O
T
O
O
L
I
Z
I
O
Z
T
I
T
O
O
L
Z
I
T
O
T
O
L
T
L
T
L
T
Z
L
T
I
I
T
T
I
Z
O
L
I
I
T
Z
T
T
Z
Z
I
L
L
T
I
T
Z
I
L
L
I
T
O
T
L
I
I
O
T
L
L
O
O
I
L
O
L
I
L
O
Z
I
L
I
T
I
Z
T
I
I
L
T
I
L
I
L
L
T
I
Z
Z
L
T
...

Second Run Output

**...
**...
.....
.....
.....

##**.
##.**
.....
.....
.....

####.
##*##
.**..
..*..
.....

####*
...**
.##*.
..#..
.....

.*...
***##
.###.
..#..
.....

.#**.
..**.
.###.
..#..
.....

.###.
..##.
.###.
..#*.
.***.

.#...
****.
.#...
.....
.#...

.#...
####.
.#...
.**..
.#**.

.....
#.##.
..**.
..#...

result:

ok good job!

Test #53:

score: 100
Accepted
time: 321ms
memory: 6612kb

First Run Input

prepare
1000
IT TL TO OZ OZ LO TI OL ZO LO ZT ZO LZ LT ZI LO LT IO IZ LT ZT TL LZ TO IL TI OL IL IL IL ZT LI OT OI TO ZT OL LT OI TL IO LO LZ ZL ZI TI LT TL ZI LT LI IT LZ IZ IT TZ OT IZ OZ ZI IO TI TL LT IZ LT IO TZ ZI IL LT IZ TI OZ ZT TO LO IT ZT LO ZL OL TI ZT ZI OT OI IL OL TZ OZ LZ IZ TL TL TZ...

First Run Output

TLTOZLTLOOTOLLZLLOZLTLLOLILLIIZITIOTLLILILLLZILTITLILZTZTIZIIILLILITZILZTOTTLIZLLOIZITOIOZOLILLZZOILIOLZILILTTILIIOLOLTLOZILLILILOOOZIOLOTLLZTOLTIITOTTZTILTZITLLZZITTOZILILTTOTZIIOILILZOLTTZIITOLOZOTLLITITLTOZILIOLOLILILIZTLLOTOTLILTOTLZTZZITOOOITZIZLIOIZZOLLIIZTLOITTZOZLTOIITLOLITZOIOLIZLOOLILIOLIO...

Second Run Input

play
1000
T
L
T
O
Z
L
T
L
O
O
T
O
L
L
Z
L
L
O
Z
L
T
L
L
O
L
I
L
L
I
I
Z
I
T
I
O
T
L
L
I
L
I
L
L
L
Z
I
L
T
I
T
L
I
L
Z
T
Z
T
I
Z
I
I
I
L
L
I
L
I
T
Z
I
L
Z
T
O
T
T
L
I
Z
L
L
O
I
Z
I
T
O
I
O
Z
O
L
I
L
L
Z
Z
O
I
L
I
O
L
Z
I
L
I
L
T
T
I
L
I
I
O
L
O
L
T
L
O
Z
I
L
L
I
L
I
L
O
O
O
Z
I
O
L
O
T
L
L
Z
T
O
L
T
...

Second Run Output

***..
.*...
.....
.....
.....

###..
.#...
.*...
.*...
.**..

#.#..
..*..
.**..
..*..
..#..

#**..
.**..
.#...
.....
.....

###..
.##..
.#...
**...
.**..

#.#..
..#..
..***
#.*..
..#..

#....
.....
***##
#*...
.....

#....
.....
.....
##***
..*..

#**..
.**..
.....
.....
..#..

###**
.##**
.....
......

result:

ok good job!

Test #54:

score: 100
Accepted
time: 322ms
memory: 6640kb

First Run Input

prepare
1000
OI OI TI LI TZ TZ LI LZ OL OZ IZ TI IT IZ IZ IO OZ LI ZL ZI OL TL IL TO LI OI OZ LT LZ OI IL ZO ZO ZT TI OT LT OZ TI TI TI LI TI TO TZ ZI IL ZO OL IZ ZT ZT OL OI OI TO TO OI IL OI TI IO TI ZL IO OT LZ LT LI OT LI TZ OT LT OZ IT LO ZI OZ IT TO TL IZ IO LI LT IL LI ZI IZ ZL ZL IL ZO OI LO...

First Run Output

IOTIZZILOZITTIIIZLZILLLOLOZLZILZZTTTLZTTILTTTILZLIZTLOIOOILOTOILITLLLTLTTLOILZOTOLZILTLIZILLLOOLILTLZOTIZZTLLLTTZLLLOLLZLZTILILLLLIIIZZZLOIILOOIZTIITTOOIOLZTLLTTIITITTIIZIIIZLLILTLOOLZTITOTIOTLTZOTOLLTLIOILZOZTZIOLOLTLLLOILLOLITTTTZILTLIOLLITIILOZILTOTLTLLLITLOIIZIITOTTIIIZOOLOOIZLOOZOIZLLIOOLZZTZIL...

Second Run Input

play
1000
I
O
T
I
Z
Z
I
L
O
Z
I
T
T
I
I
I
Z
L
Z
I
L
L
L
O
L
O
Z
L
Z
I
L
Z
Z
T
T
T
L
Z
T
T
I
L
T
T
T
I
L
Z
L
I
Z
T
L
O
I
O
O
I
L
O
T
O
I
L
I
T
L
L
L
T
L
T
T
L
O
I
L
Z
O
T
O
L
Z
I
L
T
L
I
Z
I
L
L
L
O
O
L
I
L
T
L
Z
O
T
I
Z
Z
T
L
L
L
T
T
Z
L
L
L
O
L
L
Z
L
Z
T
I
L
I
L
L
L
L
I
I
I
Z
Z
Z
L
O
I
I
L
O
O
I
Z
...

Second Run Output

****.
.....
.....
.....
.....

####.
**...
**...
.....
.....

####.
##***
##.*.
.....
.....

####*
....*
##.#*
....*
.....

...*.
..**#
##*##
....#
.....

...#.
**###
.**..
....#
.....

...#.
.....
.##..
****#
.....

...#.
*....
*##..
**...
.....

...#.
#..**
###**
##...
.....

**.#.
#**##
.....
##....

result:

ok good job!

Test #55:

score: 100
Accepted
time: 320ms
memory: 6528kb

First Run Input

prepare
1000
OT TL IL TZ LO OL OL IO OI IL OI TZ OT TZ LO LO TI ZT TI OZ OT TO LZ LT IZ IO ZO IO OT OL OI LT TI IO OT LT LT TI OL TI TI ZI LZ TL ZL IZ LI OI IZ IO LO LI LI TO LZ ZI LZ TL IO ZI ZI TO TL OL TI TZ ZI TO TO ZT ZT OZ LI LT TL ZO TL IL IO OT LT OZ IZ LZ IO LT TI ZL LO LT OZ ZL OL IT LO IT...

First Run Output

TLITOLLOILOTOZLLIZTOTTLTIIOOTOITTITLLTLITILLZILOZILILOLIZTIIIOLOTTITOTZOLLTOLLOOTZIZOTILOLOLLTLIZIIZIZLOIZLLIILILZIILLOTTLZLIIOTLLLIZLIOTILTILILTTOOTLLLOLOOZIZZZILZLIOILTZILLTITOLOILILLTLTLLIITOLOLZZOILITLIIITTZITTLZLOIZLZLILOTZOZTOITIOZLLILITLLIITZTTIILZOTOLZOLLILOOTTTITIOOLTOTZLITLILTILLLTLZIIOITI...

Second Run Input

play
1000
T
L
I
T
O
L
L
O
I
L
O
T
O
Z
L
L
I
Z
T
O
T
T
L
T
I
I
O
O
T
O
I
T
T
I
T
L
L
T
L
I
T
I
L
L
Z
I
L
O
Z
I
L
I
L
O
L
I
Z
T
I
I
I
O
L
O
T
T
I
T
O
T
Z
O
L
L
T
O
L
L
O
O
T
Z
I
Z
O
T
I
L
O
L
O
L
L
T
L
I
Z
I
I
Z
I
Z
L
O
I
Z
L
L
I
I
L
I
L
Z
I
I
L
L
O
T
T
L
Z
L
I
I
O
T
L
L
L
I
Z
L
I
O
T
I
L
T
I
L
I
L
T
...

Second Run Output

***..
.*...
.....
.....
.....

###..
.#...
.*...
.*...
.**..

#.#..
*....
*....
*....
*.#..

..#..
..*..
.**..
..*..
..#..

**...
**...
.#...
.....
.....

##...
##...
*#...
*....
**...

.#...
*#...
*#...
**...
.#...

.**..
#**..
#....
#....
.....

.##..
###..
#****
#....
.....

.##..
###..
.*...
#*....

result:

ok good job!

Test #56:

score: 100
Accepted
time: 309ms
memory: 6848kb

First Run Input

prepare
1000
ZL OI ZL OT LI ZI ZT IZ OI LZ ZO ZI OI TI ZT TL OL TZ LI TZ IO LI LI ZO LZ ZI IO TO LZ ZT IZ IL OL IL OZ IL ZI LI OZ IZ LT IZ LI OI ZL IZ IO TL IT OL IO ZO IT ZI TL OL IO ZL LO LT ZO TO IT TI TZ IT OL IT ZL ZL TI ZT ZO LI LO TZ OZ TL ZT OI LI IL IT LI IO IO IL ZL TL ZI LI OT TI TO ZT TO...

First Run Output

ZILTIIZIOLZIIIZTLZITILLOLZIOLTIILLOLILZITILILIITILOZIZLLILOLOTTTZILILLTTZILZOLZOLLILIOLLLILOIOTTLLOILLTILOZITLLIOLOILOZIILIOZILZITZLLTTIZOITLLITTOZTZLOOOTZTLZIIZITOZLLLIOOTLLTLOOIIIZIOIILOZTLTZZILTILZIZLTILLILLLLOLTTTIITLTITZTITTZTZZILZIIOTIITOOILZTTZZLLTIOTZILZTLOOILLZIOLTLTIITLLZOLOTTILTILIOLZLLLI...

Second Run Input

play
1000
Z
I
L
T
I
I
Z
I
O
L
Z
I
I
I
Z
T
L
Z
I
T
I
L
L
O
L
Z
I
O
L
T
I
I
L
L
O
L
I
L
Z
I
T
I
L
I
L
I
I
T
I
L
O
Z
I
Z
L
L
I
L
O
L
O
T
T
T
Z
I
L
I
L
L
T
T
Z
I
L
Z
O
L
Z
O
L
L
I
L
I
O
L
L
L
I
L
O
I
O
T
T
L
L
O
I
L
L
T
I
L
O
Z
I
T
L
L
I
O
L
O
I
L
O
Z
I
I
L
I
O
Z
I
L
Z
I
T
Z
L
L
T
T
I
Z
O
I
T
L
L
I
T
T
...

Second Run Output

**...
.**..
.....
.....
.....

##...
*##..
*....
*....
*....

.#...
.##..
.*...
.*...
.**..

***..
.*#..
.....
.....
..#..

###..
*##..
*....
*....
*.#..

.##..
.##..
****.
.....
..#..

.##..
.##..
####.
..**.
..#**

.#..*
.#..*
##.#*
...#*
...##

.#**.
.#**.
##.#.
...#.
...#.

.##..
.##..
##*..
..*...

result:

ok good job!

Test #57:

score: 100
Accepted
time: 319ms
memory: 6772kb

First Run Input

prepare
1000
LZ ZL OZ LI OL ZO TO LT IO ZL ZI LZ ZI LI OI TI IT LO ZT TZ ZI ZO IL TZ ZL OT TZ LT OI ZI TI IZ TZ IL OL TI ZO OZ LI ZI LZ LI TO IZ ZI IL OI OI TL ZT ZI OT IL ZL ZL ZI ZO TI ZT TZ OL TI OT IT TL ZL IL ZI IT ZI ZL LO ZT LO TZ IO LO TL TL LT TZ IT ZI TL LI OZ TL LI OI ZT TZ TZ ZL ZI ZT LT...

First Run Output

LZOLLZTTOLZZILIIILTTIZIZLOZLIZTZZILIZOIILITZILIILTITIZZIOITTLTOILZLIIZLLTLTILTLLTIZTIOLLITTZLZTLOLLLLLLTITOOLZZTOLIOIOOZOITLZTLIIIITOZLLTITLOITIIIIILITZTIILITZZTOLLLLLTTIOOTLOOITOLTZLZLILTLOOILOIZTLZLIIITILTILOZIOLIOZOLTIIIITOTOZITTTITTZITZLIZLTLOIOIZOLIOIZILZLOOITTOLLILTLITTTOLIIOOTLOZZTIOLZOLLOOII...

Second Run Input

play
1000
L
Z
O
L
L
Z
T
T
O
L
Z
Z
I
L
I
I
I
L
T
T
I
Z
I
Z
L
O
Z
L
I
Z
T
Z
Z
I
L
I
Z
O
I
I
L
I
T
Z
I
L
I
I
L
T
I
T
I
Z
Z
I
O
I
T
T
L
T
O
I
L
Z
L
I
I
Z
L
L
T
L
T
I
L
T
L
L
T
I
Z
T
I
O
L
L
I
T
T
Z
L
Z
T
L
O
L
L
L
L
L
L
T
I
T
O
O
L
Z
Z
T
O
L
I
O
I
O
O
Z
O
I
T
L
Z
T
L
I
I
I
I
T
O
Z
L
L
T
I
T
L
O
I
T
I
I
...

Second Run Output

*....
*....
**...
.....
.....

#**..
#.**.
##...
.....
.....

###..
#.##.
##...
**...
**...

.##..
..##.
.#*..
.#*..
.#**.

.#...
***#.
*#...
.#...
.#.#.

.....
#.##.
#**..
..**.
...#.

.....
#.##*
###**
..##*
...#.

***..
#*###
.....
..###
...#.

###**
...**
.....
..###
...#.

.....
*..##
*....
**#...

result:

ok good job!

Test #58:

score: 100
Accepted
time: 324ms
memory: 6832kb

First Run Input

prepare
1000
TZ IZ LT IL IZ IO LO TZ LT OL LI TL TO TZ TL IL LI OL LT OI ZL ZL TL ZO ZT ZT ZI ZI TZ ZT OT IO ZL OT IO IO IL ZL IO IO TI LZ ZI OI IZ ZT OL IO TZ LI LZ LI TI IO LI IZ TO OT ZO OI IT IT ZT ZT LZ OT ZT OL TZ TI TI ZO LI IZ OL LZ TZ ZT TZ TO LT ZL LZ IT OT OL TL ZL LO LI OZ IZ ZT TI IO OT...

First Run Output

ZZLIZILTTLLTOZLIIOLOLZTZTTIZTTTILTOOILIOTZIIITOITLLLTOLITTZOTTTZLOTLTIIZLIOLZTZTLLLTTOTLOIZIZIOTTZLOZLOOLLLTTZIOOTOTITTOTTLOLTZOTZTIZLLOTOZTLILOIZLOTTLOLTLTITIIOTTLLLOLILLTLLITOIZTLITLILTOZIIIOILZOZOLZIZLOIOZIOOIOTLIOLLIIZOLZTTTITOTIZITZLITTLZLILTIZZLOZZILLOZLOOZIOZITIIILTZTTIOTOLLITLLLTIOITIIIZTITL...

Second Run Input

play
1000
Z
Z
L
I
Z
I
L
T
T
L
L
T
O
Z
L
I
I
O
L
O
L
Z
T
Z
T
T
I
Z
T
T
T
I
L
T
O
O
I
L
I
O
T
Z
I
I
I
T
O
I
T
L
L
L
T
O
L
I
T
T
Z
O
T
T
T
Z
L
O
T
L
T
I
I
Z
L
I
O
L
Z
T
Z
T
L
L
L
T
T
O
T
L
O
I
Z
I
Z
I
O
T
T
Z
L
O
Z
L
O
O
L
L
L
T
T
Z
I
O
O
T
O
T
I
T
T
O
T
T
L
O
L
T
Z
O
T
Z
T
I
Z
L
L
O
T
O
Z
T
L
I
L
O
I
...

Second Run Output

**...
.**..
.....
.....
.....

##**.
.##**
.....
.....
.....

####.
*####
*....
**...
.....

####.
.....
#****
##...
.....

####*
...**
...*.
##...
.....

****.
...##
...#.
##...
.....

####.
***##
*..#.
##...
.....

####.
.....
#..#.
##***
...*.

####*
...**
#..#*
.....
...#.

.*...
.*.##
#**##
......

result:

ok good job!

Test #59:

score: 100
Accepted
time: 313ms
memory: 6616kb

First Run Input

prepare
1000
TI OI IL LO OZ LO LZ IZ ZL TZ ZL IT TI IT LT TO TI OI IZ IO OI LT LI ZT OZ IL ZL ZL LO LZ OI LZ ZI OT OI IL TI IT OL IO TZ ZI TO TI ZI OZ LI TO OT LI ZO OL IZ LI OI IT ZT ZL IZ TO TZ IT ZT IL IO TZ LZ OL TI TZ TL OL OI IO ZO LI TZ ZI TI LO IO LT IL TZ OT IT TO IT TZ IL IO IZ LO ZI TO IT...

First Run Output

TILOOLLIZTLITTLOTIZIOLITOLZLLLIZZOILITLOZZTTIOITOLOLILOITLITTITLITLLITLLIIZLZITLILIZOIOIZLIZLIOIILZIOIOLTZZZIOZIZZILLITLLLZLZITLIZTLOTOLZLTILZTIILLTILTILILOLIIILLIOIOTTLOLOOZOIZLZLTLITITTLOLITTLITTZILZLIILLZOTILLOLOIZOLOZLOTOOLITZZIZLLTLLIITLLLIOZZTLOTLOLOLIILOZOZTOOLLTLILTLLOIOLILZTLLOLOLLIIILOOIIO...

Second Run Input

play
1000
T
I
L
O
O
L
L
I
Z
T
L
I
T
T
L
O
T
I
Z
I
O
L
I
T
O
L
Z
L
L
L
I
Z
Z
O
I
L
I
T
L
O
Z
Z
T
T
I
O
I
T
O
L
O
L
I
L
O
I
T
L
I
T
T
I
T
L
I
T
L
L
I
T
L
L
I
I
Z
L
Z
I
T
L
I
L
I
Z
O
I
O
I
Z
L
I
Z
L
I
O
I
I
L
Z
I
O
I
O
L
T
Z
Z
Z
I
O
Z
I
Z
Z
I
L
L
I
T
L
L
L
Z
L
Z
I
T
L
I
Z
T
L
O
T
O
L
Z
L
T
I
L
Z
T
I
I
...

Second Run Output

***..
.*...
.....
.....
.....

###..
*#...
*....
*....
*....

.##..
.#...
.*...
.*...
.**..

**#..
**...
.....
.....
..#..

###**
##.**
.....
.....
..#..

..*..
##*##
..**.
.....
..#..

*.#..
*....
**##.
.....
..#..

#.#..
#****
####.
.....
..#..

#.#..
.....
####*
...**
..#*.

#.#..
.....
.....
***...

result:

ok good job!

Test #60:

score: 100
Accepted
time: 327ms
memory: 6772kb

First Run Input

prepare
1000
IL LT ZO IO OI LT ZT TL LO ZI IZ ZO ZL TI ZO LZ ZO OT LI IO TL IZ TO ZO OL OT LZ IO OI OZ TI OL TI TO TZ IL TI OL OT LO TL ZL OI ZT OZ IL OL TZ TI TZ ZL OZ LI TZ IO IO ZT ZI OZ TI ZO IL LT ZL LZ OZ LO TZ TZ OI LT TL IT ZO IT LT ZO LT TL OI ZO TZ ZI ZI ZO LO IT TO ZO LO OT LT TL OT ZT ZT...

First Run Output

ILZIILTTLIIOLIOLZTLOTITOLOLOIOILTOZIILOLTLIZZILTTZZZLZIITZOTZLLLLZLZZOLTIOILZTLIOZIZOLIOZLTTLTTTTLTZIIOTTTITLLIOTLLIOLLOITLTLZTLIOTZOIOTOLTIILOOTTZLZIZTIILLZLIITTTOTTLTLTTTZTLZZZTITIILTTITOITOTZLZOLTILITOLTITTIIZTIOZIZZZZOTIZILOLOITILLTOTITLITLOOITLZOZOTOOZLILLZOOTTTOLLLILZTTOLIIOTTZIZLTITLIITTITOIO...

Second Run Input

play
1000
I
L
Z
I
I
L
T
T
L
I
I
O
L
I
O
L
Z
T
L
O
T
I
T
O
L
O
L
O
I
O
I
L
T
O
Z
I
I
L
O
L
T
L
I
Z
Z
I
L
T
T
Z
Z
Z
L
Z
I
I
T
Z
O
T
Z
L
L
L
L
Z
L
Z
Z
O
L
T
I
O
I
L
Z
T
L
I
O
Z
I
Z
O
L
I
O
Z
L
T
T
L
T
T
T
T
L
T
Z
I
I
O
T
T
T
I
T
L
L
I
O
T
L
L
I
O
L
L
O
I
T
L
T
L
Z
T
L
I
O
T
Z
O
I
O
T
O
L
T
I
I
L
O
O
T
...

Second Run Output

****.
.....
.....
.....
.....

####*
..***
.....
.....
.....

.....
**###
.**..
.....
.....

****.
.....
.##..
.....
.....

####*
....*
.##.*
....*
.....

.....
*...#
*##.#
**..#
.....

.....
#...#
###*#
##**#
...*.

.....
#***#
..*..
.....
...#.

*....
*....
**#..
.....
...#.

#****
#....
###..
......

result:

ok good job!

Test #61:

score: 100
Accepted
time: 319ms
memory: 6640kb

First Run Input

prepare
1000
TO OZ OZ ZI IL LT TO IL OT LI TZ TL IO ZO ZI IO IZ OZ TO TO ZI ZI TO TI ZI ZI LZ IT TZ TI LT TZ IL ZO ZO ZT IT TI TI ZT LO IO IZ OT IO OT ZO ZT TL ZO ZT TZ TO LT OZ OI OZ ZT OI IT TI TO IO IL LO OZ ZT IL LZ TL ZO TI OZ ZL OZ OL ZO ZI TL IL ZT IO ZO IO OI ZT IL TI OL OT IT IL LI TZ TL TZ...

First Run Output

OOOZLTTITLTLIZIOIZTTIITIZILTTILTIZZTITITLIITOOOTLZTTTTZIOZOIITILLZZLZLOIOLOLOITLTIZIIZIILOTIIZLZLZZLITTLILZTLTTLOLZOZOLITLIILIOLIZIIOLTIILLTLOOITILLTTOTTLIOTLTLIIOLOIILZOOLZLIILILOTLOOIOLOILITZILILOTIZTIIZZZLIILILZILZLOZOLLLTZLLOIOLOTLOLOLZLZIOZLIOLOTOLOIZOTLZILOLIZTTTTTLOLOTIITTOZLLLLTTLLITLZOTTTIT...

Second Run Input

play
1000
O
O
O
Z
L
T
T
I
T
L
T
L
I
Z
I
O
I
Z
T
T
I
I
T
I
Z
I
L
T
T
I
L
T
I
Z
Z
T
I
T
I
T
L
I
I
T
O
O
O
T
L
Z
T
T
T
T
Z
I
O
Z
O
I
I
T
I
L
L
Z
Z
L
Z
L
O
I
O
L
O
L
O
I
T
L
T
I
Z
I
I
Z
I
I
L
O
T
I
I
Z
L
Z
L
Z
Z
L
I
T
T
L
I
L
Z
T
L
T
T
L
O
L
Z
O
Z
O
L
I
T
L
I
I
L
I
O
L
I
Z
I
I
O
L
T
I
I
L
L
T
L
O
O
I
T
...

Second Run Output

**...
**...
.....
.....
.....

##**.
##**.
.....
.....
.....

####.
####.
**...
**...
.....

####.
####*
##.**
##.*.
.....

####.
.....
##*##
##*#.
..**.

####.
.***.
..*..
####.
..##.

##.#.
.#.#.
.***.
##*#.
...#.

##...
.#...
.##..
###..
****.

#***.
..*..
..#..
#.#..
#.##.

##.#.
...*.
...*.
#.....

result:

ok good job!

Test #62:

score: 100
Accepted
time: 315ms
memory: 6616kb

First Run Input

prepare
1000
IO IZ TO LI OT OZ IL IL ZT OT IZ LZ ZO ZI ZT OT LZ ZL IZ IL IT OZ OZ ZT OT ZO TI LO IO OI OT TI TI OT LO ZO IT OI LZ IO LT IO ZT OZ LZ LT LO TZ IO ZL OL IT IT OI TZ LT TO ZI ZI OI ZI TO IO LO ZT IT LZ LO LI ZI ZL TZ TZ LI LO LO OZ TZ OT IO OT LZ ZL OT OL LT IL OT TI IT LI TL TI IT IL ZO...

First Run Output

IZOLTOILZOIZOITOZZILIOOTOOILIOTIIOLZIILILIZZZLOTILLTIITLTIZOZTIOTTLOLILTZILLZZTITLLTOLLOTIILTILZITLZIZOLLTIILLITLZLOOOLITZTITLTITTZIIZILIZLZOOLLLIIIIIOLLIZTTZIIILTLTIZTOLLTIOTTZOZIOIOLLILIITTLIIZOTOLTIOLOLTITTLTZLIZIZTTTITILIITOTIZLLLOILLTZOTLTLTITTLLOOZLLOLLIZLLOIZLLOZTOLILIOLLLLTTIZLZITIZZTLZZLIIZ...

Second Run Input

play
1000
I
Z
O
L
T
O
I
L
Z
O
I
Z
O
I
T
O
Z
Z
I
L
I
O
O
T
O
O
I
L
I
O
T
I
I
O
L
Z
I
I
L
I
L
I
Z
Z
Z
L
O
T
I
L
L
T
I
I
T
L
T
I
Z
O
Z
T
I
O
T
T
L
O
L
I
L
T
Z
I
L
L
Z
Z
T
I
T
L
L
T
O
L
L
O
T
I
I
L
T
I
L
Z
I
T
L
Z
I
Z
O
L
L
T
I
I
L
L
I
T
L
Z
L
O
O
O
L
I
T
Z
T
I
T
L
T
I
T
T
Z
I
I
Z
I
L
I
Z
L
Z
O
O
L
L
L
...

Second Run Output

****.
.....
.....
.....
.....

####*
...**
...*.
.....
.....

**...
**.##
...#.
.....
.....

##***
##*##
...#.
.....
.....

***..
.*...
...#.
.....
.....

###**
.#.**
...#.
.....
.....

****.
.#.##
...#.
.....
.....

####.
.#.##
.*.#.
.*...
.**..

#.##.
...##
...#.
..**.
..#**

#.#..
.**.#
.**..
..#...

result:

ok good job!

Test #63:

score: 100
Accepted
time: 334ms
memory: 6648kb

First Run Input

prepare
1000
ZT TI OL OL IZ TI ZI OT IO ZO LZ IZ OI IZ TI LT LT TZ TZ LZ LZ IL TZ TZ TI ZL LZ LO TL LI OL IL OL TL IL OL ZT OI IT IZ TL ZO TI OL TZ OL TL ZO LI OL TI TI TO LZ TI LT IZ IO OT TI LZ IT OL TL LT OL LZ TL IL ZT TI OT TO IT ZL LI IT OI ZT TL OT TZ TI LO LT ZI OZ LT ZI LO TO OL TO OT OZ ZO...

First Run Output

TIOLZTIOIZZIIZITLZZLZLTTILLLLLOLLTLOTOIILOILTLTOIOTIOLTTIOTTLILLLLLTIZIOTTLLIOTTOZILLIOLZLOLTTOZITLITOILTTLILLOLLITOTLIOIZLLLTZZLOTOTILIOTZZLLILZTIIILTTIZOIITOILLILITOZIZTTZOILZILOIOIIILILZOIITOLZLOLZLTLITTOIOIOTZZILITITTZIIOLTTTIZIZZZLITOLTTTTIOTITITIIZTOLLOLZOZOOILTIOLZLTITZOIIZLZZIIILZLTIOOLOIIOO...

Second Run Input

play
1000
T
I
O
L
Z
T
I
O
I
Z
Z
I
I
Z
I
T
L
Z
Z
L
Z
L
T
T
I
L
L
L
L
L
O
L
L
T
L
O
T
O
I
I
L
O
I
L
T
L
T
O
I
O
T
I
O
L
T
T
I
O
T
T
L
I
L
L
L
L
L
T
I
Z
I
O
T
T
L
L
I
O
T
T
O
Z
I
L
L
I
O
L
Z
L
O
L
T
T
O
Z
I
T
L
I
T
O
I
L
T
T
L
I
L
L
O
L
L
I
T
O
T
L
I
O
I
Z
L
L
L
T
Z
Z
L
O
T
O
T
I
L
I
O
T
Z
Z
L
L
I
L
Z
...

Second Run Output

***..
.*...
.....
.....
.....

###..
*#...
*....
*....
*....

.##**
.#.**
.....
.....
.....

*####
*#.##
**...
.....
.....

.....
##.##
##**.
...**
.....

.***.
##*##
####.
...##
.....

.###.
****.
####.
...##
.....

.###.
####.
####.
.**##
.**..

...#.
#..#.
#..#.
...##
****.

.....
#....
#....
..*...

result:

ok good job!

Test #64:

score: 100
Accepted
time: 318ms
memory: 6528kb

First Run Input

prepare
1000
LO TZ LT IT TI LZ IO ZO IO TI LT LO LO TZ IZ IO IZ IT TO OZ LI TO OL ZL TZ LT OZ IL OT ZI LT OL OL TO LZ ZO LZ TI OL LZ LI IO ZT OZ ZL OL OL IL LT IL TI IO IT IT OL TL OI IL TZ TL OZ LZ TL LO ZI IT LI OL IL OI TO IT OZ LO OZ TI ZI TO ZT ZO ZI LZ ZO TO TZ OI LZ OL OL ZL TL IL OI OL TL IZ...

First Run Output

OTTTILOOIILLLTIOITOOLOOLTTOLOILOLTZZLILLLIZOLOLITITOITOLOLZLOLLOITIOLIOIOLZIZOTZZLOOZOLOLLTIOOLIITTOIOLTTTTLZZTOTILLIZZLIOTLTLOLLITZLLILOOZZTLLLITIOTTLTOZTIIOOIZLZOLIOIZZOOZIOOOZTITIIOLLTOLOIITLIIOLLOLTOOIIITTLLIZLIIIOLLTOLZTZLLZITIOTTZLIIIZOOIZILZTITZZOOLOLLLLTTZLZZZLIILZOTOZLZIOTLOILTOLZLOOLTLIIZL...

Second Run Input

play
1000
O
T
T
T
I
L
O
O
I
I
L
L
L
T
I
O
I
T
O
O
L
O
O
L
T
T
O
L
O
I
L
O
L
T
Z
Z
L
I
L
L
L
I
Z
O
L
O
L
I
T
I
T
O
I
T
O
L
O
L
Z
L
O
L
L
O
I
T
I
O
L
I
O
I
O
L
Z
I
Z
O
T
Z
Z
L
O
O
Z
O
L
O
L
L
T
I
O
O
L
I
I
T
T
O
I
O
L
T
T
T
T
L
Z
Z
T
O
T
I
L
L
I
Z
Z
L
I
O
T
L
T
L
O
L
L
I
T
Z
L
L
I
L
O
O
Z
Z
T
L
L
L
I
...

Second Run Output

**...
**...
.....
.....
.....

##***
##.*.
.....
.....
.....

.***.
##*#.
.....
.....
.....

.###.
####*
...**
....*
.....

.###.
.....
...##
****#
.....

.###.
.....
***##
*....
.....

.###.
**...
**...
#....
.....

.###.
##...
##...
#**..
.**..

..##.
#****
#....
#.#..
..#..

..##.
.....
#****
#.#...

result:

ok good job!

Test #65:

score: 100
Accepted
time: 317ms
memory: 6568kb

First Run Input

prepare
1000
OZ TZ OT IZ IL OT IL IO ZT LZ ZT TI LI OT LT TI OI TZ TO LT IZ OI IO IZ IT TI TO IZ ZO TO ZT ZO OI LI ZO LO OZ OL ZL ZO LT TI ZT TI LI LT ZO OZ ZI OI ZI ZI LT ZT IL IT IL LZ TZ ZI OZ OL IL TL ZI TO OZ LO IO IO OL ZI OI TL IT TL LO TL TO OL LI LT ZI LZ ZT IT OI LZ OI OT TI IO ZT ZI IT LT...

First Run Output

OZTZLOLOZLTILTLIIZOTIOIZIITIOTTOILOLZOLOLIZIILOOIIZILZLIILZIZLLLZTZLOOLIITILLLTLITILZIILOOTOTZTTTIZTIOTZTTTOLLZTITITIZILTTILTOIZTITITTLZTOLIOILTIZILZTITOLLIOZLIIITOOIIIOZITIZTIIOLOLOLITLILTILZTTLOIILLZZTTLLTLOZLILTITOLILIOLTOZIITTZZTTTOITLLILLTLZIZOLOLOLTLILZOOZZIZOLZLLILTTITZOLZLOZLITZZLZTLTZLLTZTL...

Second Run Input

play
1000
O
Z
T
Z
L
O
L
O
Z
L
T
I
L
T
L
I
I
Z
O
T
I
O
I
Z
I
I
T
I
O
T
T
O
I
L
O
L
Z
O
L
O
L
I
Z
I
I
L
O
O
I
I
Z
I
L
Z
L
I
I
L
Z
I
Z
L
L
L
Z
T
Z
L
O
O
L
I
I
T
I
L
L
L
T
L
I
T
I
L
Z
I
I
L
O
O
T
O
T
Z
T
T
T
I
Z
T
I
O
T
Z
T
T
T
O
L
L
Z
T
I
T
I
T
I
Z
I
L
T
T
I
L
T
O
I
Z
T
I
T
I
T
T
L
Z
T
O
L
I
O
I
L
T
I
...

Second Run Output

**...
**...
.....
.....
.....

##**.
##.**
.....
.....
.....

####.
##*##
.**..
..*..
.....

####*
...**
.##*.
..#..
.....

.....
***##
*###.
..#..
.....

**...
**...
####.
..#..
.....

##***
##*..
####.
..#..
.....

...**
###**
####.
..#..
.....

...##
.....
####*
..#**
...*.

...##
*....
*....
**#...

result:

ok good job!

Test #66:

score: 100
Accepted
time: 316ms
memory: 6620kb

First Run Input

prepare
1000
IZ ZT LT OI OZ IZ LI LZ IZ OT IT LT ZO OL TO LZ LO OT IT IT LZ OL TI LI ZO ZL LO TL OL LI ZT OL TZ TZ OZ TZ OL ZI LO IL ZI TZ IL TO LZ TI LI ZL LZ IT ZL IT ZI LZ TO ZL ZO TZ TI OI OL IT TL LZ IL OL ZT IZ IZ ZI LT ZT ZI ZI IT OL OL ZO TL IT ZL IZ OZ OT IZ IZ LZ OI ZL ZL LO OT ZI IZ LO LO...

First Run Output

ZZLIOZIZZTITOOTZLTTIZLIIOLLTLLTOZTOTOIOLIZLTLILZLTLTIZOZOTTILTLZILTIIZTTIZTLLOLTLIZTIIZILZOOZILLITLLOTOOITTITTOTLLILOLILLIZIOIIOOTIOLLIITLTZILLZLLLIOLOTLOTITTTLIIZTLTOOIIOILZLOOILLTZOTZZTOOIIIIOLOIZLIOIZTTIIZZIIZLIOTZLOTLZLZLILTZITTOOZIZTZIZOLLIIZZLOZILZLOILLTTOIOLITOLOILLOOZLZITLLILTOTLTTLTTLLIOLZL...

Second Run Input

play
1000
Z
Z
L
I
O
Z
I
Z
Z
T
I
T
O
O
T
Z
L
T
T
I
Z
L
I
I
O
L
L
T
L
L
T
O
Z
T
O
T
O
I
O
L
I
Z
L
T
L
I
L
Z
L
T
L
T
I
Z
O
Z
O
T
T
I
L
T
L
Z
I
L
T
I
I
Z
T
T
I
Z
T
L
L
O
L
T
L
I
Z
T
I
I
Z
I
L
Z
O
O
Z
I
L
L
I
T
L
L
O
T
O
O
I
T
T
I
T
T
O
T
L
L
I
L
O
L
I
L
L
I
Z
I
O
I
I
O
O
T
I
O
L
L
I
I
T
L
T
Z
I
L
L
Z
L
...

Second Run Output

**...
.**..
.....
.....
.....

##**.
.##**
.....
.....
.....

####.
*####
*....
**...
.....

####.
.....
#****
##...
.....

####.
**...
**...
##...
.....

####*
##.**
##.*.
##...
.....

..*..
##*##
##*#.
##*..
.....

..#..
.....
####*
###**
...*.

**#..
.**..
.....
.....
...#.

###..
.##..
.*...
**....

result:

ok good job!

Test #67:

score: 100
Accepted
time: 329ms
memory: 6844kb

First Run Input

prepare
1000
LT ZT LO TI TZ TZ OI LT ZO ZI IL OT TO OZ IZ ZO ZT TL TL OT IT OL TO OZ TZ IL TL IL LT LZ TI TO TI ZI IO IZ OZ LZ TZ TL ZL IO OL LI TZ TL ZT TL IT LO LI LZ ZT ZO LZ TZ ZT ZI LT LT ZT LT IL IL OL LZ OZ OZ ZL IL IL TO OI LZ TO IL IZ TL LI LO TL ZT IL LO TZ LI TZ TO TZ OI OL ZT ZO ZO LO LZ...

First Run Output

TZLITTILOZITOZZZTTLOTLOOTLTILLIOTZOIOLZLLOLITLTTTLIZZOLZTZTLZTLIOLOZLIIOIZTIILLOLTLLTIZOZILZZOLLIITTLIZOTILLOLOOLIITOLZLLITOZZLLIILZTTLLIZLOZOLTIOTLTIOOLLOOLLIOLZTLLTIIZLITOILLITLLOTLOTLOZTTOTILITTOOLZITITOTOIILTTOLILLLLTIOZLLLIZTOOOLOOLZTLILZLIOTOLZOOTOTZOTZOZTTTITLIOLITLOTLZLOIZLOTTIIOLTTOLLZZZTZT...

Second Run Input

play
1000
T
Z
L
I
T
T
I
L
O
Z
I
T
O
Z
Z
Z
T
T
L
O
T
L
O
O
T
L
T
I
L
L
I
O
T
Z
O
I
O
L
Z
L
L
O
L
I
T
L
T
T
T
L
I
Z
Z
O
L
Z
T
Z
T
L
Z
T
L
I
O
L
O
Z
L
I
I
O
I
Z
T
I
I
L
L
O
L
T
L
L
T
I
Z
O
Z
I
L
Z
Z
O
L
L
I
I
T
T
L
I
Z
O
T
I
L
L
O
L
O
O
L
I
I
T
O
L
Z
L
L
I
T
O
Z
Z
L
L
I
I
L
Z
T
T
L
L
I
Z
L
O
Z
O
L
T
I
...

Second Run Output

***..
.*...
.....
.....
.....

###..
.#**.
...**
.....
.....

###..
.###.
.*.##
.*...
.**..

#.#..
*.##.
*..##
*....
*.#..

..#..
..##.
***##
.*...
..#..

..#..
..##.
.***.
.#*..
..#..

****.
...#.
.#.#.
.#...
.....

####.
...#.
.#.#.
.#.*.
.***.

###**
...**
.#...
.#...
.##..

**...
.**##
.#...
.#....

result:

ok good job!

Test #68:

score: 100
Accepted
time: 311ms
memory: 6632kb

First Run Input

prepare
1000
OZ OZ TL ZI OZ LT LI ZT ZO LI IZ ZI IT IO OL IL OL LI TZ TI ZO OI IL LO IL LI OL LT LZ LT OT IZ ZI OI ZL OZ ZL IT IT IO TI TO TZ LO ZT TO ZO OL OI TZ IT ZO LZ OZ LO LT LI ZI TZ OL ZO LI TI IL ZO ZT ZI ZL IT ZT LI OT LZ OT OZ TI LO OT TL ZI OT IZ LO IZ ZO IT ZI TI IL IL TI OL LO ZO IT IL...

First Run Output

OOLIZLLZZLIITOLLLITTOOLLLILTLTTIIIZOZTTITTTLZOOLITTOLZLTIZTOOITIZZZLIZIOLTZTLTLZTZLIZIZILLIOLOIILILZITZLLTIOLLTLITZLIIOTLIITILIOLLLIOOOIZOOLITIOLTOOLOZOTLTLLLTZTTLLIILZLZIZIOTTOZTTITLIOOLLTOILTTTLLLIITTLTOTLTIZLOLIZOLZTZLITTIZIOLZOLTTOTIILLOIZTIOZLTTZOLTITOITLILZLTOTZLLTOOOLIOZITIOOTZILOTOLOOITILLLI...

Second Run Input

play
1000
O
O
L
I
Z
L
L
Z
Z
L
I
I
T
O
L
L
L
I
T
T
O
O
L
L
L
I
L
T
L
T
T
I
I
I
Z
O
Z
T
T
I
T
T
T
L
Z
O
O
L
I
T
T
O
L
Z
L
T
I
Z
T
O
O
I
T
I
Z
Z
Z
L
I
Z
I
O
L
T
Z
T
L
T
L
Z
T
Z
L
I
Z
I
Z
I
L
L
I
O
L
O
I
I
L
I
L
Z
I
T
Z
L
L
T
I
O
L
L
T
L
I
T
Z
L
I
I
O
T
L
I
I
T
I
L
I
O
L
L
L
I
O
O
O
I
Z
O
O
L
I
T
I
O
L
...

Second Run Output

**...
**...
.....
.....
.....

##**.
##**.
.....
.....
.....

####.
####.
*....
*....
**...

.###.
.###.
****.
.....
.#...

.###.
.###.
####.
.**..
.#**.

...#.
..*#.
#.*#.
..**.
...#.

...*.
..#*.
#.#**
..#..
.....

...#.
..##.
#*###
**#..
*....

...#.
..##.
..**.
###**
#....

...#.
..##.
..##.
......

result:

ok good job!

Test #69:

score: 100
Accepted
time: 314ms
memory: 6524kb

First Run Input

prepare
1000
OI IL OT IL OT TZ ZO LI LI LO LI LI TZ TL TO LT IT LI LZ ZI TI LZ LZ ZO LI ZI OZ TZ LI TL LI IL IO ZT ZI TL LI ZT TL OI TL OZ ZL LZ IL ZO IL IT OZ ZT ZI TZ LO OL IZ ZO ZI TL ZI LI OT OZ IT LZ IZ IT LO TI ZT ZL TO IO LZ ZO ZO LI IO IT ZO IZ TZ IL ZL OT ZO TO TL LZ OZ OT IO OZ OL ZI LZ OI...

First Run Output

ILOLOTOILLLITLTTIIZITLZOLIOTLLLIIZITIZTILZLLLZITOZITOOIZZTZLOZILIIOTTLTILOOIOTZZTILOZTTZOTIOLZLIOZLOLOLOZOOIOILTLOOLOZLTZLILIZZZTTLLOLIIIZTTLTILOTOOILLLLTZIZLILLLZZOZILIZITZLLZOOIOTLLIZOIOOLOOLIZZZLLTILOITZZLILILLLZOLTLILTZOLTIOLZLZOLTOTZITITILZTZTTTIOOZTLLTITLLLITIOOOILZTLOTZTLIIITLTZIZOZTITZIIILLO...

Second Run Input

play
1000
I
L
O
L
O
T
O
I
L
L
L
I
T
L
T
T
I
I
Z
I
T
L
Z
O
L
I
O
T
L
L
L
I
I
Z
I
T
I
Z
T
I
L
Z
L
L
L
Z
I
T
O
Z
I
T
O
O
I
Z
Z
T
Z
L
O
Z
I
L
I
I
O
T
T
L
T
I
L
O
O
I
O
T
Z
Z
T
I
L
O
Z
T
T
Z
O
T
I
O
L
Z
L
I
O
Z
L
O
L
O
L
O
Z
O
O
I
O
I
L
T
L
O
O
L
O
Z
L
T
Z
L
I
L
I
Z
Z
Z
T
T
L
L
O
L
I
I
I
Z
T
T
L
T
I
L
O
...

Second Run Output

****.
.....
.....
.....
.....

####*
..***
.....
.....
.....

**...
**###
.....
.....
.....

##***
..*..
.....
.....
.....

**...
**#..
.....
.....
.....

##***
###*.
.....
.....
.....

.....
####.
**...
**...
.....

....*
####*
##..*
##..*
.....

..*.#
..*..
##**#
##..#
.....

..#.#
..#..
..*..
##*...

result:

ok good job!

Test #70:

score: 100
Accepted
time: 319ms
memory: 6636kb

First Run Input

prepare
1000
ZI ZT OI LT OI TO ZT OZ LZ IT ZL OT LO TZ LO ZI ZI OL ZL OZ TL TI TZ TO ZT ZO IZ IT TO OT TL ZO IT ZI ZL LI IZ ZL TZ LO OI ZT ZT LT LI ZO OZ ZO OZ ZT TZ TL TI OI ZO ZT TL LI LI IO ZL IT TZ TL LZ TO OZ ZL LI LO TZ LT OT OZ ZL ZO OL IT OL OL TO ZT ZO IL IO ZO TI TI ZO ZT LO ZL IZ LI ZI ZT...

First Run Output

IZOTOOZZLILTLZOIIOZOLIZOTOIITTLOIILLILTOITTTIOOOOZTTIOOTTILILITLLOOLIOTLTZLOLTLLOTZLIOIIOTLLILIZOLZTTLZILLIOZLILLZTLIZOILLOZIOLZTZTOOLTLOOZLIOLTLLLZLILZZLITOOIIOOLOLTOZTOITZLLZOIIOLLIOLIOILTTLIZLLILIILZLTLILLLTOTLITIIIIILIOLOTIIILIZTILTZZTIZZOOTITTOLIOOLTLTZLOLOTLITTIZIOLILLOTLLLILITLTLOTLIOILTIITZI...

Second Run Input

play
1000
I
Z
O
T
O
O
Z
Z
L
I
L
T
L
Z
O
I
I
O
Z
O
L
I
Z
O
T
O
I
I
T
T
L
O
I
I
L
L
I
L
T
O
I
T
T
T
I
O
O
O
O
Z
T
T
I
O
O
T
T
I
L
I
L
I
T
L
L
O
O
L
I
O
T
L
T
Z
L
O
L
T
L
L
O
T
Z
L
I
O
I
I
O
T
L
L
I
L
I
Z
O
L
Z
T
T
L
Z
I
L
L
I
O
Z
L
I
L
L
Z
T
L
I
Z
O
I
L
L
O
Z
I
O
L
Z
T
Z
T
O
O
L
T
L
O
O
Z
L
I
O
L
T
L
...

Second Run Output

****.
.....
.....
.....
.....

####*
...**
...*.
.....
.....

**...
**.##
...#.
.....
.....

##...
##*##
.**#.
..*..
.....

##**.
..**.
.###.
..#..
.....

####.
..##.
.###.
..#**
...**

###..
..#..
.##..
**#.#
.**.#

##...
.**..
.#**.
##..#
.#..#

#....
..#..
..##.
#***#
.*..#

#****
..#..
..##.
......

result:

ok good job!

Test #71:

score: 100
Accepted
time: 316ms
memory: 6640kb

First Run Input

prepare
1000
ZT ZI ZO OI LZ ZI ZO OZ LT TL TL OL IL TI ZL LO ZI ZO IT LT OL IO TI TZ IO ZT ZI IO TI LZ TZ ZI OI ZO OT ZI ZT ZL ZT ZO LT IL TO OL TL LI IO IT TO OI IL IZ LI OL IT ZL OI LZ OT OI OZ OI OI IL OL TZ TI LT LT TL OI ZI OI OZ TI IL OL OL ZL IT LO OL IL LO IL OI ZI TI IO ZT ZL ZL LT IZ OL IZ...

First Run Output

TIOIZIZOLTTOLTLLIZILLIIZOTIITZZIOZTITZZZLIOOLLITOOLZIOTZOLOIOIILOZITTTIIOOIIOLLILOLLIOZIOZLLTZLITOLLLLLOLOIILIZOOITLITLOLLIZLLLZTLLZTIZOOTZIIZIOLZOTTOTOIZITLTILLIILOOIZZTOILOLLLOZTTOTLTTTLLILITIZZIOLOTILLIIILLOLTOLOOLLTOLLLTLOTZZIOIIILLZLLIOTOLILTTOLZOOILIOOLOOLTZLIZITZIIZOILZOLZOOLZTTZLIIZIZZIZTLOT...

Second Run Input

play
1000
T
I
O
I
Z
I
Z
O
L
T
T
O
L
T
L
L
I
Z
I
L
L
I
I
Z
O
T
I
I
T
Z
Z
I
O
Z
T
I
T
Z
Z
Z
L
I
O
O
L
L
I
T
O
O
L
Z
I
O
T
Z
O
L
O
I
O
I
I
L
O
Z
I
T
T
T
I
I
O
O
I
I
O
L
L
I
L
O
L
L
I
O
Z
I
O
Z
L
L
T
Z
L
I
T
O
L
L
L
L
L
O
L
O
I
I
L
I
Z
O
O
I
T
L
I
T
L
O
L
L
I
Z
L
L
L
Z
T
L
L
Z
T
I
Z
O
O
T
Z
I
I
Z
I
O
L
...

Second Run Output

***..
.*...
.....
.....
.....

###..
*#...
*....
*....
*....

.##**
.#.**
.....
.....
.....

*####
*#.##
*....
*....
.....

.....
##*##
#**..
#*...
.....

****.
.....
###..
##...
.....

####.
..**.
###**
##...
.....

####.
**##.
**...
##...
.....

####.
####*
##***
##...
.....

####.
.....
.....
##*...

result:

ok good job!

Test #72:

score: 100
Accepted
time: 318ms
memory: 6768kb

First Run Input

prepare
1000
IL TO IO ZO TO OI IO ZI OZ ZL OT OI OT TI ZL OI IL OL LI ZI ZL OI IO OI ZL ZO LI ZI TZ ZI IO LI ZI ZT ZO IT IZ TO LO IZ OZ OL TZ TL ZI TL LO TZ LT ZL LO OI ZL OZ OT IZ ZT IZ OZ OI OL IT IO TL IL OT IZ OT ZO OT LT LZ OZ LZ OZ IT TO TI TL LZ OZ ZL OI ZI ZL LZ TZ IT IL OI TL LZ IL OI TO OT...

First Run Output

IOIZOOIIZLOITTLILLLZLOIILOIIZIILZZZTZOOIZLTLZLOTLLLIZOTITIZILIILLTZOOTTZOLOTTTTLOLOIZZZILOLZIOTOIZIOTOZIIOLITTOZOITLLTZITTZTLTTZITITTILILTIIIIOLLTIITZLLIIIOTIITOLOLTTLOILZOLZOZTOITIITLILTLLLIZIOTIOZTLIITTIIZIIZLOLITLIITLOLILZTITILLOILLTTOTILTLILTIIOIIIITOLZZITLTLTZITOLTLZOLIOZIILTZOIIOZZLIOLZITZLOTT...

Second Run Input

play
1000
I
O
I
Z
O
O
I
I
Z
L
O
I
T
T
L
I
L
L
L
Z
L
O
I
I
L
O
I
I
Z
I
I
L
Z
Z
Z
T
Z
O
O
I
Z
L
T
L
Z
L
O
T
L
L
L
I
Z
O
T
I
T
I
Z
I
L
I
I
L
L
T
Z
O
O
T
T
Z
O
L
O
T
T
T
T
L
O
L
O
I
Z
Z
Z
I
L
O
L
Z
I
O
T
O
I
Z
I
O
T
O
Z
I
I
O
L
I
T
T
O
Z
O
I
T
L
L
T
Z
I
T
T
Z
T
L
T
T
Z
I
T
I
T
T
I
L
I
L
T
I
I
I
I
O
L
L
...

Second Run Output

****.
.....
.....
.....
.....

####.
**...
**...
.....
.....

####*
##..*
##..*
....*
.....

.**..
##**#
##..#
....#
.....

.##..
..**.
##**#
....#
.....

.##..
**##.
**...
....#
.....

.##..
####.
##...
****#
.....

.##.*
####*
##..*
....*
.....

.##.#
.**..
##**#
....#
.....

.##.#
.##..
.*...
.*....

result:

ok good job!