Bill can buy jags, jigs and jogs for $\$1$, $\$2$ and $\$7$ each, respectively. What is the largest number of jogs he can purchase if he must buy at least one of each item and will spend exactly $\$50$?

Let's think step by step and output the final answer within \boxed{}.
user