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