def compute(old, new, time) 
{
	return  (new - old)/ time;
}

def easy(old) {
	return old - 1;
}

old = 100;
new = 120;
time = 4;

println("Old was: ", old, " new is: ", new, " and it changed in: ", time, " seconds" );
println(compute(old, new, time));
println(easy(time));