#include using namespace std; int main() { int n; string s; cin >> n >> s; for (int i = 0;i < n;i++) { for (int j = i;j+(j+1-i)