Rating:

Original writeup (http://ideone.com/LJIXKQ).