Re-format this string in the following format: "[capital letter][lowercase letter],..." without any spaces
Thisisastringtoreformat
T,h,i,s,i,s,a,s,t,r,i,n,g,t,o,r,e,f,o,r,m,a,t.
Complete the following task based on the instruction and optional input provided.### Instruction:
Re-format this string in the following format: "[capital letter][lowercase letter],..." without any spaces

### Input:
Thisisastringtoreformat

### Output:
T,h,i,s,i,s,a,s,t,r,i,n,g,t,o,r,e,f,o,r,m,a,t.