>>105948975
>>105948863
>>105948402
>>105948214
still nobody answered the question
how does the kid know the rules of 3 or 5, how does he know about ::sync_with_stdio(false), cin.tie??
i gave up spending time with c++ because i couldnt remember all the stuff and every other line you have to google to make sure you're avoiding the edgecase pitfalls like std::vector
{5};