#include <stdio.h>

void calculateShippingCost(double weight) {
    if (weight <= 0 || weight > 50) {
        printf("Invalid input\n");
    } else if (weight <= 5) {
        printf("100 USD\n");
    } else if (weight <= 20) {
        printf("200 USD\n");
    } else {
        printf("300 USD\n");
    }
}

int main() {
    double weight;
    //printf("Enter the weight of the package (in kg): ");
    scanf("%lf", &weight);
    calculateShippingCost(weight);
    return 0;
}