Format the following sentence so that it begins with a capital letter and ends with a period.

my name is gary
my name is gary
My name is Gary.
Complete the following task based on the instruction and optional input provided.### Instruction:
Format the following sentence so that it begins with a capital letter and ends with a period.

my name is gary

### Input:
my name is gary

### Output:
My name is Gary.