stdin/stdout in problems index