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