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