It costs a lot more to become a lawyer in the U.S. than it does in other countries, according to an analysis of university fees across 50 countries.

The cost in the U.S. was more than three times higher than any other country, at $245,700, the ranking by mobile bank N26 found. The UAE ranked second with a cost of $71,820, followed by Canada, England, Singapore, Wales and Israel.