How does the formation of cross-country teams affect the organization of work and the structure of wages? To study this question we propose a theory of the assignment of heterogeneous agents into hierarchical teams, where less skilled agents specialize in production and more skilled agents...