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