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