#include using namespace std; int arr[51]; int main() { int Q; cin >> Q; for (int i = 1; i <= Q; i++) cin >> arr[i]; cout << arr[Q] << "/" << arr[1] << endl; return 0; }