#include <stdio.h> int main() { char c; scanf("%c", &c); int n = 5 / 2; for (int i = 0; i <= n; i++) { for (int j = 0; j < n - i; j++) { printf(" "); } for (int j = 0; j < 2 * i + 1; j++) { printf("%c", c); } printf("\n"); } for (int i = 0; i < n; i++) { for (int j = 0; j <= i; j++) { printf(" "); } for (int j = 0; j < 2 * (n - i) - 1; j++) { printf("%c", c); } printf("\n"); } return 0; }