output_description: Print the answer.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N i
attempt: H, W = map(int, input().split())
  
  a = []
  b = []
  c = []
  
  for i in range(H):
      a1 = input()
      if "#" in a1:
          a.append(a1)
  
      else:
          continue
  
  a = list(zip(*a))
  l1 = len(a)
  
  for j in range(l1):
      b1 = a[j]
  
      if "#" in b1:
          b.append(b1)
  
      else:
          continue
  
  c = list(zip(*b))
  l2 = len(c)
  
  for n in range(l2):
      print("".join(c[n]))
  
problem_description: Statement
  
  There is an N-car train.
  
  You are given an integer i. Find the value of j such that the following
  statement is true: "the i-th car from the front of the train is the j-th car
  from the back."
samples: [{"input": "4 2", "output": "3\n    \n\nThe second car from the front of a 4-car train is the third car from the back.\n\n* * *"}, {"input": "1 1", "output": "1\n    \n\n* * *"}, {"input": "15 11", "output": "5"}]