import java.util.Scanner;

class Employee {
    String name;
    double salary;
    double tax;

    Employee(String name, double salary, double tax) {
        this.name = name;
        this.salary = salary;
        this.tax = tax;
    }

    boolean isValid() {
        return salary >= 0 && tax >= 0 && tax <= 100 && !name.trim().isEmpty();
    }

    void calculateAndDisplay() {
        if (!isValid()) {
            System.out.println("Invalid input");
            return;
        }

        Payroll payroll = new Payroll();
        double net = payroll.calculateNetSalary(this); // using `this` keyword
        System.out.printf("Employee %s has a net salary of ₹%.2f\n", name, net);
    }
}

class Payroll {
    public double calculateNetSalary(Employee emp) {
        return emp.salary - (emp.salary * emp.tax / 100.0);
    }
}

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String name = sc.nextLine();
        double salary = sc.nextDouble();
        double tax = sc.nextDouble();

        Employee emp = new Employee(name, salary, tax);
        emp.calculateAndDisplay();
    }
}
