Pyridine gt Aniline gt Pyrrol

.
In (I) , lone pair of (N) is not in delocalisation of `bar(e)`.
In (II) and (III) lone pair of (N) is used in delocalisation of `pi bar(e)`.
But in (III), ` LP bar(e)`s on (N) are involved in aromatiocity , so it is less basic tha (II)
b. `(iii) gt (ii) (i)`
c. `(iii) gt (ii) gt (i) `