Chris decided to code a game called 4096 which he believes is the next big thing. The game is relatively simple. You have a $4\times 4$ grid that contains integers that are all powers of 2. Tiles slide as far as possible in the chosen direction until they are stopped by either another tile or the edge of the grid. If two tiles of the same number collide while moving, they will merge into a tile with the total value of the two tiles that collided. The resulting tile cannot merge with another tile again in the same move.

The possible moves are $L,R,U,D$ which means swipe to the left, right, up and down respectively.

Here is your starting configuration,

After sweeping in the order : $U,L,D,L,U,R,D$ , what is the largest number found in the grid?

**
Clarification
**
: No new tiles are added after each move.

16
32
64
128

**
This section requires Javascript.
**

You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.

Hence the largest number on the grid would be $\boxed{64}$ .