Elian and his friends paid a total of $7 for tickets to the school football game. While at the game they bought 5 hot dogs at x dollars each 5 boxes of popcorn at y each and 2 pretzels at z dollars each. If hot dogs cost $4 popcorn cost $3 and his pretzels cost $2 what was the total cost of admission and snacks for Elian and his friends?