#!/bin/python3 import sys n = int(input().strip()) types = list(map(int, input().strip().split(' '))) final=[0,0,0,0,0] # your code goes here i=0 while i