[{"from": "human", "value": "Generate a molecule based on this description. The molecule is a quaternary ammonium compound that serves as a long-acting cholinesterase inhibitor with parasympathomimetic activity. When used topically, demecarium inactivates both pseudocholinesterase and acetylcholinesterase, thereby preventing acetylcholine breakdown and increasing acetylcholine activity. This causes contraction of the iris sphincter muscle (producing miosis) and the ciliary muscle (affecting the accommodation reflex). In so doing, this agent increases the outflow of the aqueous humor, thereby reducing intraocular pressure."}, {"from": "gpt", "value": "[C][N][Branch2][Ring2][=Branch1][C][C][C][C][C][C][C][C][C][C][N][Branch1][C][C][C][=Branch1][C][=O][O][C][=C][C][=C][C][=Branch1][Ring2][=C][Ring1][=Branch1][N+1][Branch1][C][C][Branch1][C][C][C][C][=Branch1][C][=O][O][C][=C][C][=C][C][=Branch1][Ring2][=C][Ring1][=Branch1][N+1][Branch1][C][C][Branch1][C][C][C]"}]