static int inputNumber() {
int n = int.Parse(Console.ReadLine());
static bool kiemTraSoNguyenTo(int n) {
for (int i = 2; i <= n/2; i++) {
static int tongSoNguyen(int n) {
for (int i = 2; i < n; i++) {
if(kiemTraSoNguyenTo(i)) {
static double TinhCanBacN (int x, int n) {
return Math.Pow(x, 1.0 / n);
static void HoanVi(ref int a, int b) {
static void F(int x, out int result) {
static void f(ref int x, out int result) {
public static void Main()
Console.WriteLine(result);