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