Five friends F, M, K, N and Y are working in $5$ different hospitals C, P, O, S and U and they earn different salaries ie $\text{Rs. 8000, Rs. 12000, Rs. 15000, Rs. 18000}$ and $\text{Rs. 20000}$ and they all are of different ages i.e. $24, 26, 27, 29$ and $30$ years. These all informations are not necessarily in same order. Person who is $29$ year old earns highest salary but does not work in C and P hospital. Y does not work in S and U hospital and his age is not $30.$ The salary of N is less than $\text{Rs.} 15000.$ The person who is $26$ years old earns $\text{Rs.} 18000$ per month. F earns $\text{Rs.} 12000$ per month but does not work in P and S. M works in C hospital and earns more than $\text{Rs.} 15000.$ Person who is $27$ years old works in U. $30$ years old person earns at least $\text{Rs.} 15000.$