James has to fill 40 water bottles for the team. Each bottle holds 500 millimeters of water. How many liters of water does James need in all?