A possibly completely broken attempt at A, and it took hours — not *an hour.