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