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