There are 6 baskets on the table. Each basket has 0, 9, 17, 16, 18 and 4 apples. Sean chose first, John chose sixth, Matt chose third, Olivia chose second, Liam chose fourth, and Emma chose fifth. How many apples did John and Matt choose in total?