import System.Environment
main = do
filenames <- getArgs
where
getFilename [] = "stdout.txt"
getFilename (fn:_) = fn
aW1wb3J0IFN5c3RlbS5FbnZpcm9ubWVudAoKbWFpbiA9IGRvCiAgICBmaWxlbmFtZXMgPC0gZ2V0QXJncwogICAgc3RkaW4gPC0gZ2V0Q29udGVudHMKICAgIHB1dFN0ciBzdGRpbgogICAgd3JpdGVGaWxlIChnZXRGaWxlbmFtZSBmaWxlbmFtZXMpIHN0ZGluCiAgICAgIHdoZXJlCiAgICAgICAgZ2V0RmlsZW5hbWUgOjogW1N0cmluZ10gLT4gU3RyaW5nCiAgICAgICAgZ2V0RmlsZW5hbWUgW10gPSAic3Rkb3V0LnR4dCIKICAgICAgICBnZXRGaWxlbmFtZSAoZm46XykgPSBmbgo=