#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define REP(i,a,n) for(int i=(a); i<(int)(n); i++) #define rep(i,n) REP(i,0,n) #define FOR(it,c) for(__typeof((c).begin()) it=(c).begin(); it!=(c).end(); ++it) #define ALLOF(c) (c).begin(), (c).end() typedef long long ll; ll gcd(ll a, ll b){return (b==0?a:gcd(b,a%b));} int main(){ int N; cin >> N; vector v; ll z; rep(i,N){ cin >> z; v.push_back(z); } cout << v[N-1] << "/" << v[0] << endl; return 0; }