Alright so im supposed to make a java app that tells you where to stand on this "game". This "game" is determined by how many people are in a circle. The game proceeds by a person holding a sword, passing it to the left to another person, and he passes it again, and the guy who has the sword kills the guy to his right. I have to create a java app which determines where to stand. I have this so far and i have no idea what to do

import java.util.Scanner;

public class thegame {
public static void main(String args[])
int total_peeps;

int win_position;
Scanner myInput = new Scanner(;
System.out.println("How many people are playing the game?");
total_peeps = myInput.nextInt();
win_position = 0;
for(int n=1; n<=total_peeps; n++){
if (win_position == 0) {
/*im not sure about this part*/
} else {
total_peeps %= n/5;
System.out.println("If there are " + total_peeps
+ " Twilight fans, stand " + win_position
+ " to the left of the one with the sword.");