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