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