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