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