#include<stdio.h>
int main()
{
    int payment,balance,isactive;
    float remaining;
    scanf("%d", &payment);
    scanf("%d", &balance);
    scanf("%d", &isactive);
    if (isactive != 0 && isactive != 1)
    {
        printf("Invalid input");
    }
    if(payment <= 0 || balance <= 0)
    {
        printf("Invalid input");
    }
    else if(isactive == 0)
    {
        printf("Account Inactive");
    }
    else if(balance < payment
    {
        printf("Insufficient balance");
    }
    else if(isactive == 1 && balance >= payment)
    {
        remaining = balance - payment;
        printf("%.2f", remaining);
    }
    return 0;
}