from __future__ import print_function def printf(str, *args): print(str % args, end='')