#include <stdio.h>
struct Product {
    char name[51];
    int price;
    int quantity;
};
int main() {
    struct Product p;
    if (fgets(p.name, sizeof(p.name), stdin) == NULL) 
    return 0;
    for (int i = 0; p.name[i] != ''; i++) {
        if (p.name[i] == '') {
            p.name[i] = '';
            break;
        }
    }
    if (scanf("%d", &p.price) != 1) return 0;
    if (scanf("%d", &p.quantity) != 1) return 0;
    if (p.price < 0 || p.quantity < 0) {
        printf("Invalid input\\n");
        return 0;
    }
        printf("Product Name: %s\\n", p.name);
        printf("Price: %d\\n", p.price);
        printf("Quantity: %d\\n", p.quantity);
    }
    return 0;
}