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