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