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