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