class Player3 {
    private int hp;
    private int place;

    public Player3() {
        hp = 100;
        place = 0;
    }

    public int getPlace() {
        return place;
    }

    public void work() {
        if (hp >= 1) {
            hp--;
            place++;
        }
    }

    public boolean isAlive() {
        if (hp >= 1) {
            return true;
        } else {
            return false;
        }
    }
}

public class Main {
    public static void main(String[] args) {
        Player3 p = new Player3();

        while (p.isAlive()) {
            System.out.println(p.getPlace());
            p.work();
        }
        System.out.println(p.getPlace());
    }
}