How many different ways can one hundred be written as a sum of at least two positive integers?

I am not getting algo. please any one can give me write solution of this problem