To read an integer input from the console, you can useint(input())to convert the input string to an integer.