#include "bits/stdc++.h" using namespace std; int main(){ int n, x; int tipe[6] = {0, 0, 0, 0, 0, 0}; scanf("%d", &n); for(int i=0; i tipe[common]) common = i; printf("%d\n", common); return 0; }