Task: Data-transform-pbe (source dataset: Transformation-text)

You are given a input table where each row is an input record, and an output table that contains one additional column, called "Output", whose values in each row can be produced by transforming values of the same row in the input table. Your task is to write the corresponding code that can perform such transformations, based on the given input-output examples. Make sure that the transformations you write can generalize to additional input examples not shown in the input table.

Implementation Details:
1. Generate Python code using the Pandas library to perform the transformation.
2. The code should read the input table from "input.csv".
3. Apply the transformation based on the observed pattern.
4. Save the transformed output to "output.csv".
5. Ensure that the output structure matches the expected format, including column names and data types.

Your task is to ensure that the Python script is correctly formatted, efficient, and ready for execution on any dataset following the same transformation pattern.

No explanation and return the Python code in a markdown code block: ```python
<PYTHON-CODE>
```.

Input Table:
| Input                                                                                |
|:-------------------------------------------------------------------------------------|
| Aksel Hedegaard     1234 Pecan Avenue,Yangon,NY,(023) 966-2677,000-94-0933,03719     |
| Justyna Wojciechowska      45 Apple Lane,Buffalo,MS,(197) 861-8364,000-21-6939,58712 |
| Mee-Yon Hah    4567 Second Highway ,Evansville,IA,(864) 453-3833,000-68-8231,17293   |
| Yves Grethen  2345 Eighth Way ,Henderson,OK,(609) 880-5529,000-69-3866,38891         |
| Rosa Jaminez          7890 Birch Avenue ,Lahore,DE,(322) 469-6200,000-37-7891,41230  |
| Marten Ruutli         7890 Eighth Route ,Fargo,OH,(956) 100-1022,000-08-9259,38891   |
| Mausami Das      7890 Main Boulevard ,Milan,KY,(300) 638-6791,000-46-8421,41230      |
| Isotta Pinto    67 Elm Avenue,Lubbock,KS,(716) 971-0191,000-02-6781,38891            |
| Bola Atanda         2345 Sixth Street,Cologne,WV,(479) 143-0433,000-37-0076,41230    |
| Amanda Haraldsen        34 First Way,Lansing,MS,(311) 343-5301,000-26-4391,41230     |
| Natasa Lekovic        78 Third Boulevard ,Austin,ND,(907) 265-8996,000-79-1568,58712 |

Output Table:
| Input                                                                                |   Output |
|:-------------------------------------------------------------------------------------|---------:|
| Aksel Hedegaard     1234 Pecan Avenue,Yangon,NY,(023) 966-2677,000-94-0933,03719     |    03719 |
| Justyna Wojciechowska      45 Apple Lane,Buffalo,MS,(197) 861-8364,000-21-6939,58712 |    58712 |
| Mee-Yon Hah    4567 Second Highway ,Evansville,IA,(864) 453-3833,000-68-8231,17293   |    17293 |
| Yves Grethen  2345 Eighth Way ,Henderson,OK,(609) 880-5529,000-69-3866,38891         |    38891 |
| Rosa Jaminez          7890 Birch Avenue ,Lahore,DE,(322) 469-6200,000-37-7891,41230  |    41230 |
| Marten Ruutli         7890 Eighth Route ,Fargo,OH,(956) 100-1022,000-08-9259,38891   |    38891 |
| Mausami Das      7890 Main Boulevard ,Milan,KY,(300) 638-6791,000-46-8421,41230      |    41230 |
| Isotta Pinto    67 Elm Avenue,Lubbock,KS,(716) 971-0191,000-02-6781,38891            |    38891 |
| Bola Atanda         2345 Sixth Street,Cologne,WV,(479) 143-0433,000-37-0076,41230    |    41230 |
| Amanda Haraldsen        34 First Way,Lansing,MS,(311) 343-5301,000-26-4391,41230     |    41230 |
| Natasa Lekovic        78 Third Boulevard ,Austin,ND,(907) 265-8996,000-79-1568,58712 |    58712 |



filename: ZipCode.000002
instruction: Substring
example_input: example_input.csv
example_output: example_output.csv
test_input: test_input.csv
test_output: test_output.csv