(map(int, input().split()))
what is happing in this statemnt
Taking input using split
Map() takes 2 arguments . First one is method to apply and second is the data to apply this method to .
In method we have passed int , so our data will be converted to integer .
In data we are providing input().split(), using this we are actually taking multiple arguments . Input() takes in input and split() divides that input into multiple data by using space as the delimiter . So whenever we give space while providing our input we are basically giving a new data .