Create a valid JSON object that contains the given information.
Person's name: John Smith
Age: 40
```json
{
    "name": "John Smith",
    "age": 40
}
```
Complete the following task based on the instruction and optional input provided.### Instruction:
Create a valid JSON object that contains the given information.

### Input:
Person's name: John Smith
Age: 40

### Output:
```json
{
    "name": "John Smith",
    "age": 40
}
```