Three trucks arrive at a barn to unload their animal cargo and depart with others. Truck A arrives with 10 cows, Truck B arrives with 6 pigs and Truck C arrives with 4 sheep. Then Truck A leaves with 4 sheep, Truck B leaves with 5 cows and Truck C leaves with 5 pigs. If there were 3 sheep, 2 pigs and 2 cows in the barn before the trucks arrived, how many animals remain in the barn after the trucks leave?