Josh and his three friends went out for lunch. His friends spent $9.62, $6.97, and $3.40. The total bill was $27.22. How much did josh spend on his lunch?