#include<stdio.h>
int main() {
int b = 0;
int a = 0;
int c = 0;
scanf("%d %d %d", &a, &b, &c);
int max = 0;
int min = 0;
int retmax = b > c ? b : c;
int retmin = b > c ? c : b;
if (a > retmax)
max = a;
else
max = retmax;
if (a < retmin)
min = a;
else
min = retmin;
printf("%d/%d", min , max);
return 0;
}