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