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