Bank Nifty option expire

How is premium 1200? banknifty closed at 31537 so ending premium is 37 *20 = 740 and stt is 780, if it is exercised he would have ended up paying more. Please go through the thread and other threads in this forum to get more clarity.