public class Ti01 { public static void main(String[] args) { int n = 15; int sum = 0; while(n<=1005){ sum+=n; n+=10; } System.out.println(sum); } }