#include <iostream>
#include <vector>
#include <string>

using namespace std;

vector<string> arrWords;

void fillArray(unsigned short int N);
void outPutArray();

int main()
{
	setlocale(0, "Russian");
	unsigned short int N = 0;

	cout << "Введите количество строк (N): ";
	cin >> N;

	if (N == 0) {
		cout << "N должно быть больше нуля!";

		return 0;
	}
	else {
		fillArray(N);

		outPutArray();
	}

	system("pause");

	return 0;
}

void fillArray(unsigned short int N) {
	string word = "";
	for (unsigned short int i = 0; i < N; i++) {
		cin >> word;
		arrWords.push_back(word);
	}
}
void outPutArray() {
	for (unsigned short int i = 0; i < arrWords.size(); i++) {
		cout << "s" << i + 1 << "=" << arrWords.at(i) << endl;
	}
}