Implement Queue by Two Stacks(LintCode 40):

Problem