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