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