How do you remove a glass from inside a cup?

I was packing cups and glasses and put some glasses inside some cups and I could not get them out. Please help!