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