
/*
Online Java - IDE, Code Editor, Compiler

Online Java is a quick and easy tool that helps you to build, compile, test your programs online.
*/

import java.util.*;

public class Main
{
    public static void main(String[] args) {
        System.out.println("Welcome to Online IDE!! Happy Coding :)");
        
        ArrayList <String> aa = new ArrayList<>();
        ArrayList <String> cc = new ArrayList<>(Arrays.asList("test"));
        
        aa.size();
        
        Random random = new Random();
        int ff = random.nextInt();
        
        
        
        try {
         
        Scanner scan = new Scanner (System.in);
         
        //String input = scan.next();
        String age = scan.nextLine();
        
        //System.out.println(input);
        System.out.println(age);
        int ageConvert = Integer.parseInt(age);
        
        }
        catch(NumberFormatException nf) {
            
            System.out.println("invalid number");
        }
        
        
        
        
        
        
    }
}
          