#include <bits/stdc++.h>
using namespace std;
typedef int ll;
vector<string> states;
void Init() {
	states.push_back("");
	return;
}
void TypeLetter(char L) {
  	string currentString = states[states.size() - 1];
	currentString.push_back(L);
	states.push_back(currentString);
}
void UndoCommands(int U) {
	ll currSZ = states.size();
	states.push_back(states[currSZ - U - 1]);
}
char GetLetter(int P) {
	ll currSZ = states.size();
  	return states[currSZ - 1][P];
}
// int main() {
// }
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... |