benchmark: all tests passed, incorrect output on 3, 6, 12