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