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