What format does my document have to be in to be accepted?

Word format: .doc or .docx or Rich Text Format: .RTF