(Quantum Mechanics)

I posted this in the Quantum Physics forum as well, but I ran across this one and thought it may help to put it here too. Sorry for the double post.

Hi everyone... I am new to this site. I am currently taking a major-related Chemistry course that is concentrating on quantum mechanics right now. I have been working on a homework question for about an hour now, and I am no closer to figuring it out than when I started. Something tells me that it's probably a pretty easy question, if I just knew where to begin. I need to calculate the longest wavelength (minimum frequency, right?) of light in nm that can be used to eject electrons from a surface, given that it takes 254kJ/mole. Can someone please help me!