You are going to broadcast a football game.
The field of this game is length of \(n\), width of \(m\), and there are \(p\) players who's ready to joint this game.
During the game, there would be some events which you need to handle.
Type 1: A player numbered \(player_id\) has catched the ball.
Type 2: The player who's holding the ball has kicked it along the direction of (\(dx\), \(dy\)). The ball would stop moving if it has hit the boundary of this field (\(x = 0\), \(x = n-1\), \(y = 0\), \(y = m-1\)), or any player on its way, except the players who was standing at its initial position
Type 3: You have to report the current state of this game.
In this problem, event except type 2 has been implemented for you.
To fulfill the requirements, you should also implement the functions GetWho(), which returns the player id of the one that is holding the ball right now, or -1 if no player is holding the ball.
Next, you should implement the function SomeoneIsHere(), which returns if there's any player standing at a specific position