barcelona vs. prague

it will be my first time in europe and i'm choosing among trips that include either prague or barcelona. only winter wanderer has both. to those who have been to both, which one is better in your opinion? thanks!