Same rate for both loans, the longer-term loan should be higher interest, to price in the risk of a devaluing currency. This would result in a slightly higher monthly payment for the 50 year loan and higher total paid, but the numbers are good enough for comparison.
What interest rate are you assuming?
Used the default (6ish) here: https://www.calculator.net/mortgage-calculator.html.
Same rate for both loans, the longer-term loan should be higher interest, to price in the risk of a devaluing currency. This would result in a slightly higher monthly payment for the 50 year loan and higher total paid, but the numbers are good enough for comparison.