// Player0.java (または同じファイル内での定義)
class Player0 {
    public int hp;
    public int place;

    public void initi() {
        hp = 100;
        place = 0;
    }

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

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

// Game0.java
class Game0 {
    public static void main(String[] args) {
        // Player0型のインスタンス p を作る
        Player0 p = new Player0();
        
        // hp と place を初期設定
        p.initi();
        
        // hp と place を表示
        p.print();
        
        // hp と place を更新
        p.work();
        
        // 更新された hp と place を表示
        p.print();
    }
}