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