#include #include #include #include #include using namespace std; ifstream f("mindcoding.in"); int n, a, b, c, d, x, y, mx, k; unordered_map h; int main() { cin>>n; for(int i=0; i>a, h[a%23]=1; cout<