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