Pergunta de entrevista da empresa NVIDIA

Write a program to print the 2nd highest and the highest number in the list without using built-in functions