perl -apple, 18 bytes
$F[0]&&chop;$_%=10
Prints the last digit of n for the special sequence (c = 0), otherwise, the penultimate digit of n. Perls DWIM magically makes itIt doesn't quite work for single digit inputs. ("" % 10 equals 0n)'s, but since we only have to tend towards equal distribution, it doesn't matter what it prints.