The Prison Problem