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