#Python 3, 59 bytes

<!-- language-all: lang-py -->

    A='G="A=%r;exec(A)";len(G)!=12<x!=0;print(end=G%A)';exec(A)

Switching to Python 3 so that the trailing newline can be easily removed.