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