A private is the lowest rank of the Army or Marines . The rank is earned after joining the service or graduating from a military camp .