class Player4 {
    private int hp;
    private int place;

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

    public void work() {
        if (hp >= 1) {
            hp--;
            place++;
        } else {
            System.out.println("dead...");
        }
    }

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

    public void print() {
        System.out.println("hp: " + hp + ", place: " + place);
    }
}

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

        while (p.isAlive()) {
            p.print();
            p.work();
        }
        p.print();
    }
}