// editor3
#include <iostream>
#include <string>
#include <iomanip>
#include <cmath>
using namespace std;


class Projectile
{
    private: float v, a, h;
    Projectile(float v, float a)
    {
        this -> v = v;
        this -> a = a;
    }
    public:
    void display()
    {
        h = (pow((v*sin(a)), 2))/(2*9.81);
        cout << fixed << setprecision(2) << h << endl;
    }
};
int main()
{
    float v, a;
    cin >> v;
    cin >> a;
    
    if(v>-100 && v<=100 && a>-90 && a<=90)
    {
        Projectile obj(v, a);
        obj.display();
    }
    else
    {
        cout << "Invalid input";
    }
    return 0;
    
}