The following compounds having antiviral activity.It is cr1ar1b A1 or A2, s u s u cr2ar2b is, or is cr3ar3b A3, A4 is s u o s u cr4ar4b or the number of heteroatoms in the Atoms that constitute the Ring consists of A1, A2, A3, A4,NITROGEN Atom adjacent to carbon Atom adjacent to the A1 and A4 is 1 or 2 A1A and r1b are each independently Hydrogen, halogen, alkyl,Or similar 2a and R2B are each independently Hydrogen, halogen, alkyl, or similar R3A and R2H are each independently Hydrogen, halogen, alkyl,R4A r4b or similar, and are each independently Hydrogen, halogen, alkyl, or similar r3b R3A and can not be taken together to form carbociclo Aromatic heterocycle Aromatic or not X is CH2,S U o each R1 is independently Halogen, Hydroxy, or similar M is any integer or 2 n is any integer from 1 to 2Los siguientes compuestos que tienen actividad antiviral. A1 es CR1AR1b, S u O A2 es CR2AR2b, S u O A3 es CR3AR3b, S u O A4 es CR4AR4b S u o el numero de heteroatomos entre los atomos que constituyen el anillo que consiste en A1, A2, A3, A4, atomo de nitrogeno adyacente a A1 y atomo de carbono adyacente a A4 , es 1 o 2 R1A y R1b son cada uno independientemente hidrogeno, halogeno, alquilo, o similar R2A y R2b son cada uno independientemente hidrogeno, halogeno, alquilo, o similar R3A y R3b son cada uno independientemente hidrogeno, halogeno, alquilo, o similar R4A y R4b son cada uno independientemente hidrogeno, halogeno, alquilo, o similar R3A y R3b pueden tomarse juntos para formar carbociclo no aromatico o heterociclo no aromatico X es CH2, S u O R1 es cada uno independientemente halogeno, hidroxi, o similar m es cualquier numero entero de O a 2 y n es cualquier numero entero de 1 a 2