CREATE TABLE table_61445 ("Tournament" TEXT, "2008" TEXT, "2009" TEXT, "2010" TEXT, "2011" TEXT, "2012" TEXT)

What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011?
SELECT "2009" FROM table_61445 WHERE "2012" = 'a' AND "2011" = '1r' AND "Tournament" = 'shanghai masters'
SELECT "2009" FROM "table_61445" WHERE "2011" = '1r' AND "2012" = 'a' AND "Tournament" = 'shanghai masters'