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