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