#include <iostream>
#include <iomanip>
using namespace std;
class Projectile{
    private:
    protected:
    int velocity;
    int angle;
    public:
    void display(){
        cin>>velocity;
        cin>>angle;
        if(velocity<=0 || angle<=0){
            cout<<"Invalid input";
        }
        else{
              float result=((velocity^2).(sin^2)angle)/(2*9.81);
              cout<<fixed<<setprecision(2)<<result;
        }
    }
};
int main(){
    Projectile p;
    p.display();
    return 0;
}