#include <iostream>
using namespace std;

int main()
{
    int loanAmount;
    float rateOfInterest;
    int timePeriod;
    cout<<"enter loanAmount,rateofInterest and timePeriod:";
    cin >> loanAmount;
    cin >> rateOfInterest;
    cin >> timePeriod;
   
    if (loanAmount<=0 || rateofInterest<=0 || timePeriod<=0 )
    {
    
        cout << "Invalid input" << endl;
    }
    else
    {
    float Interest= (loanAmount*rateofInterest*timePeriod)/100.0;
    float totalPayable = loanAmount + Interest;
    cout<<totalPayable<< endl;
    }
    return 0;
    }