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