A simple code that Calculates.