#include<bits/stdc++.h> using namespace std; bool fun(int x, int n, int* p) { int j = 0; if (x % n == 0) { while (x != 0) { *(p + j) = x % 10; j++; x /= 10; } return true; } else return false; } int main() { int m = 0, x, y, z, i, N, a, b; int num[6]; cin >> N; cin >> x >> y ...