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