#include<bits/stdc++.h> using namespace std; int main() { int n,i,x,in=0,out=0; cin>>n; for(i=1;i<=n;i++){ cin>>x; if(x>=10&&x<=20)in++; else out++; } printf("%d in\n%d out",in,out); }