print function for literal