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