Online Judge- Input and Output

This is the code

to use input.txt for inputs
you can use this statement
freopen(“input.txt”,“r”,stdin);

here i am taking input from input.txt on right side
and getting output below using command ctrl+B