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