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