#!/usr/local/bin/python2 print '{sd}sd}fg'[1:].rsplit('}', 1)