Instruct: What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011?
Output: SELECT 2009 FROM table WHERE 2012 = a AND 2011 = 1r AND Tournament = shanghai masters