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