#define _CRT_SECURE_NO_WARNINGS #define _USE_MATH_DEFINES #include "bits/stdc++.h" #include #include #include #include #include #define REP(i,a,b) for(i=a;i> n) { if(n == 0) break; cout << s[n-1] << endl; } return 0; }