#include #include #include #include #include #include #include #include #include #include #include #define REP(i, n) for(int i = 0;i < n;i++) #define FOR(i,m,n) for(int i = m; i < n; i++) #define FOREACH(i, n) for (__typeof((n).begin()) i = (n).begin(); i != (n).end(); ++i) #define ALL(c) (c).begin(), (c).end() #define SIZE(v) ((int)v.size()) #define INF INT_MAX/2 #define pb push_back #define mp make_pair using namespace std; typedef long long llong; const int dx[6] = {1, -1, 1, 0, -1, 0}; const int dy[6] = {1, -1, 0, 1, 0, -1}; inline bool valid(int x, int w){return 0 < x && x <= w;} int main(){ int n; cin >> n; int a[n], res[n]; REP(i, n){ cin >> a[i]; } cout << a[0] << '/' << a[n-1] << endl; }