#include<bits/stdc++.h>
using namespace std;
struct student{
//成员变量
string name;
int x,y;
//无参数构造函数
student(){}
//带参数构造函数
student(int x1,int y1):x(x1),y(y1){}
//成员函数
void print(){
if(x>y)cout<<"OK"<<endl;
else cout<<"NO"<<endl;
}
};
struct Teacher{
string name;
int age;
}a[10],p,q;//结构体定义时可同时定义变量
int main(){
student s1;
s1.name = "wxy";
student s=student(2,1);
s.print();
Teacher t[10];
Teacher t1;
return 0;
}