sentence1: He began his studies in 1946 at the Main Reformed Gimnázium in Budapest , and from 1947 to 1951 , he attended the Madách Gimnázium in Debrecen .
sentence2: He began his studies at the Main Gimnázium in Debrecen in 1946 , and from 1947 to 1951 he visited the Madách Gimnázium in Budapest .