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