#include <stdio.h>

int main() {
    int weight;
    float height, bmi;

    while (1) {
        scanf("%d", &weight);
        scanf("%f", &height);

        if (weight <= 0 || height <= 0) {
            printf("Invalid Input\n");
            continue; // prompt again
        }

        bmi = weight / (height * height);
        printf("%.2f\n", bmi);
        break; // exit after valid input
    }

    return 0;
}


