The fifth-grade volleyball team has won 2/5 of its matches and the fourth-grade volleyball team has won 3/5 of its matches. If each team attended 20 matches, how many matches have they won altogether?