Not sure why its failing, have tested it multiple times and seems to work.
package com.codegym.task.task04.task0432;
/*
You can't have too much of a good thing
*/
import java.io.*;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) throws Exception {
Scanner scanner = new Scanner(System.in);
String a = "abc";
int n = Integer.parseInt(scanner.nextLine());
while(n > 0 ) {
n--;
System.out.println(a);
}
}
}