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