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