print join " ", @aminoacids{$i, $j, $k}; # note the '@'