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