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