You are a secret agent tasked with cracking the encrypted messages of an enemy spy network. The only clue you have is a spinning cube with a letter at each vertex. Each spin of the cube reveals a new letter combination. Decode the messages by figuring out the spinning pattern of the cube and un-spinning the letters in sync with the cube's rotation.