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