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