Philip purchased s pairs of shoes for the school year. He also purchased jeans and T-shirts.
The number of pairs of jeans is 3 more than the number of pairs of shoes and the number of
T-shirts is twice as many as the number of pairs of jeans. How many shoes did he purchase if he purchased a total of 17 items?