CREATE TABLE table_39754 ("Office" TEXT, "Democratic ticket" TEXT, "Republican ticket" TEXT, "Socialist ticket" TEXT, "Workers ticket" TEXT)

What is the name on the Republican ticket when the Socialist ticket was louis waldman?
SELECT "Republican ticket" FROM table_39754 WHERE "Socialist ticket" = 'louis waldman'
SELECT "Republican ticket" FROM "table_39754" WHERE "Socialist ticket" = 'louis waldman'