import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;

// Class name should be "Source",
// otherwise solution won't be accepted
public class Source {
    public static void main(String[] args) {
        
        Scanner in = new Scanner(System.in);
        
        // Declare the variable
        int a, i, j;
        
        // Read the variable from STDIN
        a = in.nextInt();

   // Output the variable to STDOUT
        System.out.println(a);

        int arr[] = {5, 8, 4, 4, 7, 6, 2, 6, 7, 3};
        for (i = 0; i < arr.length; i++){
            for( j = i + 1; j < arr.length; j++){
                if (arr[i] == arr[j] && (i != j) ){
                    System.out.println("false");
                }
                else{
                System.out.println("true");
                }
            }
        }
        
     
   }
}

Embed on website

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