using C=System.Console;class X{static void Main(){for(int n;;C.WriteLine(n%2<1?n/2+"":n+"/2"))n=int.Parse(C.ReadLine());}}