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