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