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