The chess endgame "a king and a queen versus a king" is known to be easy victory for the side that has a queen.
The position in such an endgame is described by the locations of three figures: the white king, the white queen, and the black king. Locations are written in a usual chess notation, constructed from a letter from "a" to "h", which determine vertical line, and the digit from 1 to 8, which determine horizontal line of the location.
Given the position described, you are find a move for the white queen by which the black king will be checkmated, or determine that no such a move exists.