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