#include<stdio.h>
int main() {
    int rows,i,j;
    printf("Enter the  rows of half diamond:");
    scanf("%d",&rows);
    for(i=1; i<=rows;i++) {
        for (j=1;j<=i;j--) {
            printf("*");
        }
        printf("\5");
    }
    
    return 0;
}