Hint: Track where the top face travels with each separate rotation.