Question

Write a function that returns true if the sum of digits in even positions equals the sum of digits in odd positions (counting from the right)?

Login to Submit

Examples

Input: 6044
Output: false

Input: 6248
Output: true

Input: 6247
Output: false