Why do i always get to enter a-1 strings in this string array? : public class Source {
    public static void main(String[] args) {
        
        Scanner in = new Scanner(System.in);
        
        // Declare the variable
        int a;
        
        // Read the variable from STDIN
        a = in.nextInt();
        String strs[]=new String[a];
        for(int i=0;i<a;i++)
        strs[i]=in.nextInt();
       
   }
}