Q10
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int input = scanner.nextInt(); String errorNumber = ""; for (int i = 1; i <5_000 ; i++) { errorNumber = errorNumber + i; } System.out.println(errorNumber.charAt(input-1)); } }