Ten boxes- A, B, C, D, E, F, G, H, I and J are kept in a stack one above the other but not necessarily in the same order. The bottommost position is 1 above that 2 and so on.
At most three boxes are kept above G.
Four boxes are kept between G and B.
| Case 1 | Case 2 | Case 3 | Case 4 |
Position | Box | Box | Box | Box |
10 | G | | | |
9 | | G | | |
8 | | | G | |
7 | | | | G |
6 | | | | |
5 | B | | | |
4 | | B | | |
3 | | | B | |
2 | | | | B |
1 | | | | |
Three boxes are kept between box F and box J.
Box J is kept immediately below box B.
| Case 1 | Case 2 | Case 3 | Case 4 |
Position | Box | Box | Box | Box |
10 | G | | | |
9 | | G | | |
8 | F | | G | |
7 | | F | | G |
6 | | | F | |
5 | B | | | F |
4 | J | B | | |
3 | | J | B | |
2 | | | J | B |
1 | | | | J |
Two boxes are kept between box F and box A.
As many boxes are kept above box A as below box D.
Thus, Case 1 and Case 3 get cancelled.
| Case 2 | Case 4 |
Position | Box | Box |
10 | A | |
9 | G | |
8 | | A |
7 | F | G |
6 | | |
5 | | F |
4 | B | |
3 | J | D |
2 | | B |
1 | D | J |
Box H is kept immediately below box E.
Box E is not kept at the topmost position.
Thus, Case 4 gets cancelled.
| Case 2 |
Position | Box |
10 | A |
9 | G |
8 | |
7 | F |
6 | E |
5 | H |
4 | B |
3 | J |
2 | |
1 | D |
Box I is not kept adjacent to box G.
Position | Box |
10 | A |
9 | G |
8 | C |
7 | F |
6 | E |
5 | H |
4 | B |
3 | J |
2 | I |
1 | D |
This is the final arrangement.
Position | Box | |
10 | A | A |
9 | G | B |
8 | C | C |
7 | F | D |
6 | E | E |
5 | H | F |
4 | B | G |
3 | J | H |
2 | I | I |
1 | D | J |
Four boxes i.e. A, C, E and I boxes will remain in the same position after the rearrangement.