#include <cmath>
#include <iomanip>
#include <iostream>

int main() {
    double mu = 0.0;
    double thickness = 0.0;
    if (!(std::cin >> mu >> thickness) || !std::isfinite(mu) ||
        !std::isfinite(thickness) || mu < 0.0 || thickness < 0.0) {
        std::cerr << "Enter a nonnegative coefficient (cm^-1) and thickness (cm).\n";
        return 1;
    }

    std::cout << "thickness_cm,transmitted_fraction\n" << std::setprecision(8);
    for (int step = 0; step <= 20; ++step) {
        const double depth = thickness * (step / 20.0);
        std::cout << depth << ',' << std::exp(-mu * depth) << '\n';
    }
}
