#include<stdio.h>
#include<string.h>
union productInfo
{
    inyt price;
    int quantity;
};
struct product
{
    char name[51];
    union productInfo info;
    int price;
    int quantity;
};
int main()
{
    struct product p;
    fgets(p.name, sizeof(p.name), stdin);
    p.name[strcspn(p.name,"\n")]='\0';
    scanf("%d", &p.price);
    scanf("%d", &p.quantity);
    if(p.price < 0||p.quantity < 0)
    {
        printf("Invalid inmput");
        return 0;
    }
    printf("product Name: %s\n", p.name);
    printf("Price: %d\n", p.price);
    printf("Quantity: %s\n", p.quantity);
    return 0;
}