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