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