In a shop, the cost of 4 shirts, 4 jeans and 2 hats is $560. The cost of 9 shirts, 9 jeans and 6 hats is $1290. What is the cost of 1 pair of jeans, 1 shirt and 1 hat?