Three eighth of the students of a class opted for visiting an old age home. Sixteen students opted for having a nature walk. Square root of total number of students in the class opted for tree plantation in the school. The number of students who visited the old age home is same is the number of students who went for a nature walk and did tree plantation. Find the total number of students.