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