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