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