typedef long long ll; typedef long double ld; #include using namespace std; #define int long long signed main(){ ll n,m; std::cin >> n>>m; vector ans; while(m!=0){ ans.push_back(n/m); ll tmp = m; m = n-m*ans.back(); n = tmp; } for (int i = 0; i < ans.size(); i++) { std::cout << ans[i]; if(i