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