a=11 b=12 n=12 after reset n=0