class Test{ public static void main(String[] args){ int sum = 0; int i=1; do{ sum = sum+i; i=i+2; }while(sum<2000); System.out.println(i-4); } }