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