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