#include <iostream>

using namespace std;

void solve() {
    int n;
    cin >> n;

    if (n % 2 == 0) {
        cout << "That's La Peace\n";
        return;
    }

    // Nửa trên 
    for (int stars = 1; stars <= n; stars += 2) {
        int spaces = (n - stars) / 2;

        for (int i = 0; i < spaces; i++) {
            cout << ' ';
        }
        for (int i = 0; i < stars; i++) {
            cout << '*';
        }
        cout << "\n";
    }

    // Nửa dưới
    for (int stars = n - 2; stars >= 1; stars -= 2) {
        int spaces = (n - stars) / 2;

        for (int i = 0; i < spaces; i++) {
            cout << ' ';
        }

        for (int i = 0; i < stars; i++) {
            cout << '*';
        }
        cout << "\n";
    }
}

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);

    int t;
    if (cin >> t) {
        while (t--) {
            solve();
        }
    }

    return 0;
}