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