This question contains a category error: sailors and soldiers are distinct military personnel belonging to different service branches.
There is no direct conversion between these roles. The phrase "four fifths as soldiers" is mathematically incomplete—it requires a reference total (four fifths of what?). To calculate a number of soldiers, you would need to know the total population from which that fraction is drawn.
If you're working on a word problem, please provide the complete context: the total group size and which group the fraction applies to.