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