Little coding help needed...

 

Its probably silly problem for somebody... but I am unable to make function to act following:

Beginning: indicator1 value=0

indicator2 value=0

A=0

Step1: indicator1 value=1

indicator2 value=0

A=1

Step2: indicator1 value=0

indicator2 value=0

A=1 (A still holds his value)

Step3: indicator1 value=0

indicator2 value=1

A=0

Any replays are very welcome!