The graph of $y=ax^2+bx+c$ is given below, where $a$, $b$, and $c$ are integers.  Find $a$.

[asy]
size(140);
Label f;

f.p=fontsize(4);

xaxis(-3,3,Ticks(f, 1.0));

yaxis(-4,4,Ticks(f, 1.0));

real f(real x)

{

return -2x^2+4x+1;

}

draw(graph(f,-.7,2.7),linewidth(1),Arrows(6));
[/asy]
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
The graph of $y=ax^2+bx+c$ is given below, where $a$, $b$, and $c$ are integers.  Find $a$.

[asy]
size(140);
Label f;

f.p=fontsize(4);

xaxis(-3,3,Ticks(f, 1.0));

yaxis(-4,4,Ticks(f, 1.0));

real f(real x)

{

return -2x^2+4x+1;

}

draw(graph(f,-.7,2.7),linewidth(1),Arrows(6));
[/asy]
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
-2
The graph of $y=ax^2+bx+c$ is given below, where $a$, $b$, and $c$ are integers.  Find $a$.

[asy]
size(140);
Label f;

f.p=fontsize(4);

xaxis(-3,3,Ticks(f, 1.0));

yaxis(-4,4,Ticks(f, 1.0));

real f(real x)

{

return -2x^2+4x+1;

}

draw(graph(f,-.7,2.7),linewidth(1),Arrows(6));
[/asy]
train