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