Help me in solving CPPFALL165 problem

My issue

runtime error

My code

#include <iostream>
using namespace std;

int main() {
    int a,b,c,d;
    cin>>a>>b>>c>>d;
    float p = a * c; 
    float q = b / d; 
    if(p>q){
       cout<<"First"<<endl;
    }
    else if(p==q){
       cout<<"Second"<<endl;
    }
    else if(p<q){
       cout<<"Any"<<endl;
    }
    
}

Learning course: Learn Programming and Problem Solving using C++
Problem Link: https://www.codechef.com/learn/course/sit-cpp-fall/SITFALL28/problems/CPPFALL165

type or paste code here