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