{"problem":{"name":"Leyland Number","description":{"content":"You are given positive integers $A$ and $B$.   Print the value $A^B+B^A$.","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc320_a"},"statements":[{"statement_type":"Markdown","content":"You are given positive integers $A$ and $B$.  \nPrint the value $A^B+B^A$.\n\n## Constraints\n\n*   $2 \\leq A \\leq B \\leq 9$\n*   All input values are integers.\n\n## Input\n\nThe input is given from Standard Input in the following format:\n\n$A$ $B$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc320_a","tags":[],"sample_group":[["2 8","320\n\nFor $A = 2, B = 8$, we have $A^B = 256, B^A = 64$, so $A^B + B^A = 320$."],["9 9","774840978"],["5 6","23401"]],"created_at":"2026-03-03 11:01:14"}}