Dead Or Not - That Is The Question 

On a standard checkerboard ( tex2html_wrap_inline38 squares) the only black piece is the king. The only limitation to the number and kind of white pieces is the number of squares left (63). This means that apart from the black king there can be between zero and 63 white pieces on the board.

Your objective is to determine wheter the black king is check mate or not.

Input and Output

Your input containing the description of the boards state is a 64-character string with each character representing a square on the board (row after row). The possible values for each character are:

tabular21

Suppose the checkerboard starts at the upper left corner with the field a/1. Therefore white is playing upwards (Starting at g-h/1-8).

The output consists of only a word YES or NO.

Sample Input

Kbbbbbbbtlttttttbbbbbbbbssssssssbbbbbbbbllllllllbbbbbbbbtsldklst

Sample Output

NO