How to get string and two integer input in same line : string N M 

where N M is index value . i want this input in same line

i have tried input().split() but it dsnt works

alphabets  = input().split()   ## what to do next