print "$$\n", shift, "\n", pop, "\n";
exit;