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