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