#include <stdio.h>
int main(void) {
int qty,price,amount,discount,total;
scanf("%d%d",&qty
,&price
); amount=qty*price;
if(amount>5000)
{
discount=amount*0.2;
total=amount-discount;
{
else
}
discount=0;
total=amount-discount;
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgcXR5LHByaWNlLGFtb3VudCxkaXNjb3VudCx0b3RhbDsKCXNjYW5mKCIlZCVkIiwmcXR5LCZwcmljZSk7CglhbW91bnQ9cXR5KnByaWNlOwoJaWYoYW1vdW50PjUwMDApCgl7CglkaXNjb3VudD1hbW91bnQqMC4yOwoJdG90YWw9YW1vdW50LWRpc2NvdW50OwoJewoJZWxzZQkKCX0KCWRpc2NvdW50PTA7Cgl0b3RhbD1hbW91bnQtZGlzY291bnQ7Cgl9CglwcmludGYoIiVkIix0b3RhbCk7CglyZXR1cm4gMDsKCQoJCQoJCgp9Cg==