write a program to get string form user and output the duplicated character write a program to get string form user and output the same character

like :


from user: teto

output: t