Careless robber gets nine-month prison sentence