["x^4 - 3x^3 - 24x^2 - 12x - 112","x^10 - 4827056x^9 + 1192223600x^8 - 8577438158x^7 + 958436165464x^6 - 4037071023854x^5 + 141614997956730x^4 - 365830453724082x^3 + 5225367261446055x^2 - 9213984708801250x + 21911510628393750","x^2 + 12x + 27"][stdin.get_s(1K).size%3].p;
Note that non-ascii characters in the above source code will be escaped (such as \x9f).