int count = 0, base = 1024; while (base++ != 2020) count++; System.out.println(count);