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