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