Input txt output txt (39/40)

Input txt output txt