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