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