public class BankAccount {
    private int saving; // current amount of money you save in the bank account
    private String name; // your name
    
    public BankAccount(String myName, int mySaving) {
	name = myName;
	saving = mySaving;
    }
    
    /** deposit money into the account */
    public void deposit(int depositAmount) {
	if(depositAmount >= 0) {  // depositAmount must be positive
	    saving+= depositAmount;
	}
    }
    
    /** withdraw money from the account */
    public void withdraw(int withdrawAmount) {
	/* If the withdrawAmount is negative or
	   there is not enough saving for withdraw
	   do nothing */
	if(withdrawAmount >= 0 && withdrawAmount <= saving) { 
	    saving-= withdrawAmount;
	}
    }
    
    /** return saving */
    public int getSaving() {
	return saving;
    }
    
    /** return name */
    public String getName() {
	return name;
    }
}
	    
	    
	    
	
	   
	
