#include #include using namespace std; ifstream f("input"); ofstream g("output"); int n, v[101]; int main() { f>>n; for(int i=1;i<=n;++i) { f>>v[i]; v[i]%=23; } int counter=0,analog; for(int i=1;i<=n;++i) { analog=v[i]; if(v[i]!=-5) ++counter; for(int j=1;j<=n;++j) { if(v[j]==analog) v[j]=-5; } } g<