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