Text this: Mathematics of manpower planning