#include <iostream>
using namespace std;
class student{
public:
  static int age;
};
int student::age=0;
int main(){
  student s1,s2,s3;
  cout<<s1.age++<<endl;
  cout<<s2.age++<<endl;
  cout<<s3.age++<<endl;
  return 0;
}