C # implementation to check whether a given number N can be converted to the form K power K by the given operation
using System ; using System . Collections . Generic ; class GFG { static SortedSet < int > kPowKform = new SortedSet < int > ( ) ;