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