#include < stdio.h>
#include <string.h>
struct product {
    char name[51];
    int price;
    int quantity;
};
void manageAndDisplay() {
    struct Product p;
    fgets(p.name, sizeof(p.name), stdin);
    p.name[strcspn(p.name, "\n")] = 0;
    int price-input, quantity_input;
    scanf("%d", &price_input);
    scanf("%d", &quantity_input);
    p.price = price_input;
    p.quantity = quqntity_input;
    if (p.price < 0 || p.quantity < 0) {
        printf("Invalud Input\n");
    } else {
        printf("Product Name: %s\n", p,name);
        printf("Price: %d\n", p.price);
        printf("Quamtity: %d\n", p.quantity);
    }
}
int main() {
    inputAndDisplay();
    return 0;
}