The problem outlines the algorithm for computing the hash value. Follow it and you may solve the problem.