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