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