Python accepting input for problems

a, b, c, d = map(int, input().split())

When using code like the above to take in input for competitive programming problems, what does int do? int() is supposed change types but if I enter int() I get an error.

int simply typecasts the input received from input().split() to integer.