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