Easy slam with accidental right-siding

Quite an easy one. West signs off in 3NT but East has an easy resurrection.

When East shows major honours, has to be -KQ/A, A, A, since 3 SPs in each suit.

5 was to find out whether East had A or KQ but not strictly necessary since partner would be playing 6.