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