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