import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
       // System.out.println("Hello world!");
     int n = sc.nextInt();
        int result = dec(n);
            System.out.print(+result);
    }
    public static int dec( int n) {
        if (n==0) ; 
        {return 0;}
        //System.out.print(+n);
        return dec(n-1);
    }
    
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: