PaulS:
if INPUT A = HIGH;
You are NOT programming in whatever language you are used to.
{Why} {is} {your} {code} {full} {of} {useless} {curly} {braces} {?}
I am new to Arduino, can you please explain to me what my code should be if not "if INPUT A = HIGH"