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