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