I\'ve written a simple program to find the perfect number that is immediately after 28 (which is 496), however it is not working. Not sure what I\'m doing wrong.