say mr x is a television host .his show is from Monday to Friday .if he can invite one guest per show and he invites politician on mondays and Wednesdays .actors on Tuesday and athelets on Thursday and any one from the three professions on Friday but one guest cant come more than once on the same week .now he has 5 politicians and 3 actors and 6 athelets how many ways he can invite them