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