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