Gym Membership Plans

Look at this sign from Planet Fitness.

Compare the two deals.

$10 per month (pay month by month)

or

$199 for 18 months (pay all upfront)

Which deal is better?

Explain your thoughts. Why is this a math fail from Planet Fitness?