Java - Check if input is of Premitive type : I have to check for each **input**, print out if it is an instance of a *primitive or referenced* type. But I am getting same output each time. Any Help?

**Note: I do search SO, but no luck.**

Code:
-----

    public class Demo {

    public static void main(String[] args) throws IOException {
        /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        for(int i=0; i<9; ++i){
            String input = br.readLine();
             showPremitive(input);
        }     
    }
    public static void showPremitive(Object input){
        try{
                if (input instanceof Short)
                    System.out.println("Primitive : short");
                else if(input instanceof Integer)
                    System.out.println("Primitive : int");
                else if(input instanceof Long)
                    System.out.println("Primitive : long");
                else if(input instanceof Float)
                    System.out.println("Primitive : float");
                else if(input instanceof Double)
                    System.out.println("Primitive : double");        
                else if(input instanceof Boolean)
                    System.out.println("Primitive : bool");
                else if(input instanceof Character)
                    System.out.println("Primitive : char");
                else if(input instanceof Byte)
                    System.out.println("Primitive : byte");
                else  
                    System.out.println("Reference : string");
             }  
        catch (InputMismatchException e){
            System.out.println("crashing down"+e);
        }
    }
    
}

**Output:**

    Reference : string
    Reference : string
    Reference : string
    Reference : string
    Reference : string
    Reference : string
    Reference : string
    Reference : string
    Reference : string

