<image> Arrange the numbers 2, 4, 6, 8, 10, 12 on the front, back, two sides, top, and bottom surfaces of a cube sequentially, and then unfold the cube as shown. Given that the number on the leftmost square is 12, the number on the rightmost square is ____.