Study of variable stars in the MOA data base: long-period red variables in the Large Magellanic Cloud