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