Update 10789 - Prime Frequency.cpp