def getseed(myseed, i):
rndseed = int(myseed[(i - <NUM_LIT:1>) * <NUM_LIT:8>: i * <NUM_LIT:8>], <NUM_LIT:16>)<EOL>rndseed = rndseed % (<NUM_LIT:2> ** <NUM_LIT>)  <EOL>return rndseed<EOL>
Return a single seed from a long seed given by `genseeds`.

Parameters
----------
myseed : bytes
    A long seed given by `genseeds(n)`.
i : int
    An index less than n.

Returns
-------
rndseed : int
    A seed (less than (2 ** 31))