The first line contains two integersand
, the note count of the song and the number of notes Walk Alone has played.
The-th of the following
lines contains one of 'perfect', 'good', 'bad' and 'miss' (without quotes), indicating the judgement of the
-th note.
An integer indicating the maximum score Walk Alone could get.
A song has at mostnotes in Phigros.