How do you write a roman numeral 1?

The roman numeral for the number one can be written as I or i. On a keyboard, it is typed using the "I", not the "1".