#include using namespace std; int main(){ int n; cin >> n; vector z(n); for(auto &a:z) cin >> a; cout << z[n-1] << "/" << z[0] << endl; return 0; }