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