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