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