input LorRn by ifstream