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