read width:int height:int n:int bombsCount:int goalsCount:int
loop bombsCount read x:int y:int
loop goalsCount read x:int y:int
write 1