# GolfScript, 61 bytes 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 This takes advantage of comments (`#`) and the undocumented "super-comments" (everything following an unmatched `}` it is silently ignored). `_` is a noop. It could be replaced by whitespace, but the underscores seem more readable to me... [Try it online.](http://golfscript.apphb.com/?c=MTYseykiMX0pXyM7Izs7MDAxMjMzNThfKF99O31ffV99fSBffV8oX182Cl99KTRfKV8rKV9fKF9ffV9fO199X19fNiIuQCV%2BfSVuKg%3D%3D "Web GolfScript") # Example run $ cat nth-char.gs 16,{)"1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6".@%~}%n* $ golfscript nth-char.gs 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 1 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 2 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 3 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 4 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 5 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 6 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 7 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 8 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 9 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 10 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 11 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 12 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 13 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 14 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 15 1})_#;#;;00123358_(_};}_}_}} _}_(__6 _})4_)_+)__(__}__;_}___6 16