#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,m;
cin>>n>>m;
cout<<"Enter the speed limit: Enter the recorded speed of the car: ";
if(m-n<=0)
cout<<"Congratulations, you are within the speed limit";
if(m-n>0&&m-n<=20)
cout<<"You are speeding and your fine is $ 100";
if(m-n>20&&m-n<=30)
cout<<"You are speeding and your fine is $ 270";
if(m-n>30)
cout<<"You are speeding and your fine is $ 500";
return 0;
}
using namespace std;
int main()
{
int n,m;
cin>>n>>m;
cout<<"Enter the speed limit: Enter the recorded speed of the car: ";
if(m-n<=0)
cout<<"Congratulations, you are within the speed limit";
if(m-n>0&&m-n<=20)
cout<<"You are speeding and your fine is $ 100";
if(m-n>20&&m-n<=30)
cout<<"You are speeding and your fine is $ 270";
if(m-n>30)
cout<<"You are speeding and your fine is $ 500";
return 0;
}