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