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