Table:
year
team
bike
1
2
3
4
5
6
7
8
9
10
11
pts
pos

r1
r2
r1
r2
r1
r2
r1
r2
r1
r2
r1
r2
r1
r2
r1
r2
r1
r2
r1
r2
r1
r2

2003
attack
suzuki gsx-r750 suzuki gsx-r1000
day dns
fon dnq
fon
inf
inf
atl dns
atl dns
ppk dns
ram 36
ram dns
brd dns
lga 36
mdo dns
mdo dns
vir
vir
bar
bar
0
92nd

2004
attack
kawasaki zx-10r
day dnf
fon 21
fon 29
inf 6
inf 7
bar 5
bar 6
ppk 7
ram dnf
ram dnf
brd 6
lga 6
mdo 6
mdo 5
atl 27
atl 5
vir 7
vir 6
316
8th

2005
attack
kawasaki zx-10r
day dnf
bar 39
bar 6
fon 7
fon dnf
inf 5
inf 8
ppk 5
ram 3
ram 6
lga dnf
mdo 5
mdo dnf
vir 7
vir 6
atl 6
atl 6
none
none
302
9th

2009
yamaha factory racing
yamaha yzf-r1
day 8
fon 6
fon 6
atl 5
atl 4
bar 5
bar 4
inf 1
inf 4
ram 17
ram 25
lga 4
mdo 1
mdo 1
hpt 6
hpt 3
vir 1
vir 1
nj 1
nj 1
406
2nd

2010
yamaha factory racing
yamaha yzf-r1
day 13
day 6
fon 4
fon 2
atl 6
atl 2
inf 1
inf 1
ram 1
ram 2
mdo 1
mdo 2
lga 2
vir 3
vir 1
nj 1
nj 1
bar 2
bar 7
none
none
466
1st

2011
yamaha factory racing
yamaha yzf-r1
day 3
day 2
inf 1
inf 2
mil 2
ram 2
ram 1
bar 4
bar 2
mdo 2
mdo 4
lga 2
nj 1
nj 2
none
none
none
none
none
none
363
1st

2012
yamaha factory racing
yamaha yzf-r1
day 1
day 2
atl 2
atl 1
inf 1
inf 7
mil 1
ram 1
ram 1
bar 1
bar 1
mdo 1
mdo 1
lga 1
nj 1
nj 1
hom 12
hom 1
nol 1
nol 1
580
1st

Statement: hayes joined the yamaha factory racing team in 2009 and competed in a yamaha yzf-r1 in the ama superbike and won seven races and placed second.
Question: which team did hayes play for in 2009?
Answer: yamaha factory racing