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