5
4
LOCK A
LOCK B
UNLOCK A
UNLOCK B
4
LOCK B
LOCK C
UNLOCK B
UNLOCK C
4
LOCK C
LOCK D
UNLOCK C
UNLOCK D
6
LOCK A
LOCK D
UNLOCK D
LOCK X
UNLOCK A
UNLOCK X
1
LOCK X
