1. Three flags, each of different colour, are available for a military exercise. Using these flags, different codes can be generated by waving
(i) Single flag of different colours, or
(ii) Any two flags in a different sequence of colours, or
(iii) Three flags in a different sequence of colour The maximum number of codes that can be generated is
(UPSC Prelims 2003 - Mental ability)