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