#!/usr/bin/env python

import sys
import ast


print(ast.dump(ast.parse(open(sys.argv[1], 'r').read())))