I am making a snake game: if the snake eats the apple, it will spawn randomly in one of the corners.

I tried code like `getRandomInt(0, 25)`, but is spawned in the range of 0 to 25:
(0,1,2,3,4,5,6,7,8,9,10, ...25)

Code I used:

```
var grid = 16;

if (cell.x === apple.x && cell.y === apple.y) {
    snake.maxCells++;        
    apple.x = getRandomInt(0, 25) * grid;
    apple.y = getRandomInt(0, 25) * grid;

```

I want the apple to spawn randomly in one of the 4 corners of the map (2d)

at x = 25 or 0

      or

at y= 25 or 0

not: x,y at 1 or 2 or 3 or 4 or.. 24