X map int input split. Split в паскале. метод split в паскале. m,n=map(int,input().split()). паскаль split string.