#include using namespace std; using ll = long long; #define ALL(a) (a).begin(),(a).end() int main(){ ll n;cin>>n; ll a=0,b=0,c=0; ll temp; for(ll i=0;i>temp; if(temp%3>0){ a++; } } for(ll i=0;i>temp; if(temp%3>0){ b++; } } for(ll i=0;i>temp; if(temp%3>0){ c++; } } cout<