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