#!/usr/bin/env python

import os, sys, stat

print os.fstat(sys.stdin.fileno())[stat.ST_SIZE]

