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