BINGO race


Statement
You are given a Bingo board.
The rows are separated by '|'.
Replace them with "BINGO!" if there is a bingo (five 'o's in a row either vertically or horizontally or diagonally), ";_;" otherwise.

Sample input represents below.
There is a bingo diagonally.
oxoxo
xoxxo
oooox
xxxox
ooxoo
Sample Input
Sample Output
Contest ID
0005
Writer
admin
Publish date
2020/05/24 22:30:00
Solved
45
Top player
sugim48