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