mr.Lin has 10 baseballs. His gym makes 4teams. Mr.Lin gives the team as many baseballs as he can , and each team gets the same number of baseballs. How many baseballs does Mr.Lin give each team? How many baseballs are left?