Unable to execute while loop

I am writing a code to determine the total cost of entry for the data entered. The code needs to prompt the user for the numbers in each demographic as long as they want to enter a group. If they don’t, then the code spits out the total take of every entry charge they were given. For some reason, when I run the code, it only prompts for the group and then stops. I’m very new to Java to any help is appreciated.

public static void main(String[] args){
    Scanner sc = new Scanner(System.in); //create scanner object
    
    //code prompts user for group
    
    System.out.println("Enter a group? (Yes = 1/No = 0): ");
    int group = sc.nextInt();
    int children = sc.nextInt();
    int adults = sc.nextInt();
    int seniors = sc.nextInt();
    
    //if user enters 1, the following code should execute, prompting for numbers, then give an entry
    // charge
    while (group == 1) {
       System.out.println("Enter the number of children (age 6 - 15): "+children);
       System.out.println("Enter the number of adults (16 - 59): "+adults);
       System.out.println("Enter the number of seniors (age 60+) "+seniors);
       System.out.println("Total entry charge is $");//needs to include calculation
    }
    System.out.println("Total takings: $")//needs to include sum calculation of all charges in while
                                          //loop
}

When I entered the above, this is what I get:

enter image description here