public class Test{ public static void main(String args[]){ int number = 0; for(int i = 0;i <= 30;i++){ number += i; } System.out.println(number); }}