Input (grade 12): In modern terminology, SOS is a Morse "procedural signal" or "prosign", and the formal way to write it is with a bar above the letters, i.e. SOS.
Output (grade 7): In modern terminology, SOS is a "procedural signal" or "prosign", and the formal way to write it is with a bar above the letters. It should be written SOS.