Please read the following table in Markdown format and then answer the question according to the table. Table cells in one row are seperated by '|', and different rows are seperated by '
'.

Table:
| District | Incumbent | Party | First elected | Result | Candidates |
| --- | --- | --- | --- | --- | --- |
| New York 11 | James H. Scheuer | Democratic | 1974.0 | Re-elected | James H. Scheuer (D) 78.5% Kenneth Huhn (R) 21.5% |
| New York 12 | Shirley Chisholm | Democratic | 1968.0 | Re-elected | Shirley Chisholm (D) 87.8% Charles Gibbs (R) 12.2% |
| New York 13 | Stephen J. Solarz | Democratic | 1974.0 | Re-elected | Stephen J. Solarz (D) 81.1% Max Carasso (R) 18.9% |
| New York 18 | S. William Green | Republican | 1978.0 | Re-elected | S. William Green (R) 53.3% Carter Burden (D) 46.7% |
| New York 31 | Donald J. Mitchell | Republican | 1972.0 | Re-elected | Donald J. Mitchell (R) Unopposed |
| New York 38 | Jack Kemp | Republican | 1970.0 | Re-elected | Jack Kemp (R) 94.8% James A. Peck ( Lib ) 5.2% |
Question:
What district did S. William Green belong to?
Answer:
New York 18