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