number of ways to change n cents using various denominations