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