#include using namespace std; typedef int64_t ll; vector numeral_7(ll n){ vector answer; if(n==0){ answer.push_back(0); return answer; } while(n>0){ answer.push_back(n%7); n/=7; } return answer; } void solve() { ll n; cin>>n; vector a=numeral_7(n); for(ll i=a.size()-1;i>=0;i--){ cout<