Allocating Resources for Innovation