#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;

int main() {
    int S;
    double V;
    double g = 10;
    double T;

    cin >> S;
    cin >> V;

    T = (2 * V * sin(S * 3.141592653589793 / 180)) / g;

    cout << fixed << setprecision(3) << T << endl;

    return 0;
}