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