Is the following valid simple chi squared valid for this situation as follows?

Response

Observed N Expected N Residual

.00 10 20.0 -10.0

1.00 30 20.0 10.0

Total 40

Test Statistics

Response

Chi-Square 10.000a

df 1

Asymp. Sig. .002

a 0 cells (0.0%) have expected frequencies less than 5. The minimum expected cell frequency is 20.0.

Therefore p value 0.002 ?

I am a little confused should our expected value for "0 response" not be 40?

Thanks