using System.Collections.Generic;
public static void Main()
for(int i=0; i<=15000; i++) {
private Stack<int> s1 = new Stack<int>();
private Stack<int> s2 = new Stack<int>();
public bool IsEmpty() { return s1.Count == 0; }
public void Enqueue(int n)
private void Move(Stack<int> src, Stack<int> target) {