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) {
        //System.out.println("Hello world!");
        
        
      Scanner scn = new Scanner(System.in);
        
        /*String str1 = scn.next();
        String str2 = scn.nextLine();
        String str3 = scn.nextLine();
        
        System.out.println(str1);
        System.out.println(str2);
        System.out.print(str3);*/
        
        
    /*    boolean SatWork = scn.nextBoolean();
        System.out.println(SatWork);*/
        
        
      /*  int intmoney = scn.nextInt();
        int moneyleft = scn.nextInt();
        
        System.out.println(intmoney - moneyleft);*/
        
        /*boolean bybeach = true;
        boolean pprice = 20000;
        
        int prange = scn.nextInt();
        
        if (prange<=20000);
        System.out.println(bybeach);*/
        
      /*  int n1 = scn.nextInt();
        int n2 = scn.nextInt();
        int n3 = scn.nextInt();
        
        System.out.println("Number 1 is " + n1);
        System.out.println("Number 2 is " + n2);
        System.out.println("Number 3 is " + n3);
        
        boolean a = n1 > n2;
        boolean b = n2 <=n3;
        boolean c = (n1 < n2) || ((n2 == n3) && (n1 < n3));
        
            
        System.out.println("(n1 > n2) condition is " + a);
        System.out.println("(n2 <= n3) condition is " + b);
        System.out.println("(n1 < n2) || ((n2 == n3) && (n1 < n3)) condition is " + c);
        */

        
        // int Rahul = scn.nextInt();
        // int Karan = scn.nextInt();
        
        // int Rahul1 = 5;
        // Rahul = (Rahul-Rahul1 + (2*Rahul));
        // Karan = Karan + Rahul1;
        // System.out.println("Rahul now has " + Rahul);
        // System.out.println("Karan now has " + Karan);
        

        /*double temp = 98.6f;
        double temp1 = scn.nextDouble();
        
        if(temp1>104.00){
            System.out.println("Body Temperature Beyond Human Life to Sustain and Remain Alive");
        
            }
            
        else if(temp1>102.00 && temp1 <=104.00){
            System.out.println("You have Extremely High Fever");
        
            }    
            else if (temp1>100.00 && temp1 <=102.00){
                System.out.println("You have High Fever");
            }
            
            else if (temp1 > temp){
                System.out.println("You have a fever");
            }
        
        else 
        System.out.println("You do not have fever");
        */
        
        
        /*int InputNumber = scn.nextInt();
        
        if(InputNumber%2==0){
             System.out.println(0);
            }
        
        else 
            System.out.println(1);*/
        
        /*int a = scn.nextInt();
        int b = scn.nextInt();
        int c = scn.nextInt();
        
        int Tsum = 180;
        
        if(Tsum == a+b+c){
            System.out.println(1);
        }
        
        else
        System.out.println(0);*/
        
        /*int a = scn.nextInt();
        
        int i = 1;
        int j = -1;
        int k = 0;
        
        if (a>=i){
            System.out.println(1);
        }
        
        else if(a<=j){
            System.out.println(-1);
        }
        
        else
        System.out.println(0);*/

     /*   int N = scn.nextInt();
        
        if(N%5==0){
            System.out.println("Divisible by 5");
        }
        else
            System.out.println("Not Divisible by 5");*/
        
        
        
        /*int cp = scn.nextInt();
        int sp = scn.nextInt();
        
        int PL = sp-cp;
        
        if (PL>0){
            System.out.println(1);
            System.out.println(sp-cp);
        }
        
        else {
            System.out.println(-1);
            System.out.println(sp-cp);
        }*/
        
     
     /*int qualify = 75;
     
     int attended = scn.nextInt();
     int classes = scn.nextInt();
     
     if((attended*100/classes) >= qualify){
        System.out.println("YES");
     }
     else
        System.out.println("NO");
     */
     
             //Scanner scn = new Scanner(System.in);
        
                   /* int classAsub1 = scn.nextInt();
                    int classAsub2 = scn.nextInt();
                    int classBsub1 = scn.nextInt();
                    int classBsub2 = scn.nextInt();

                    double Aavg = (double)(classAsub1+classAsub2)*1/2;
                    double Bavg = (double)(classBsub1+classBsub2)*1/2;
    
                    if(Aavg > Bavg) {
                        System.out.println("True");
                }
                    else 
                        System.out.println("False");*/
                        
                        
            
     
    }
}
   

Embed on website

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