max moves as input