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