package frontmodel;

public class DiGui {
	
	public static int getHe(int n){
		if(n==0){
			return 0;
		}
		return n+getHe(n-1);
	}
	
	public static void main(String[] args) {
		System.out.println(getHe(3));
	}
	
}
