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