I would appreciate if you solve this out. Thanks.

Five couples go to a restaurant. They sit at a rectangular table on the long sides. Nobody sits on the short sides. Everyone sits either across from or next to their partner. How many ways can they be seated?