Originally we considered there are 6336 frog species in the world, and 2712 are not endangered. Let's now reconsider the scenario, assuming there are actually 3146 species that are not endangered. Under this new assumption, how many frog species are endangered?