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