#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; long long top, bottom; for(int i = 0; i < n; i++) { long long z; cin >> z; if(i == 0) bottom = z; if(i == n - 1) top = z; } printf("%lld/%lld\n", top, bottom); return 0; }