for(n in scan("stdin"))write(if(n%%2)sub("$","/2",n)else n/2,1)