I tried to look deeper but this is way too much. In my opinion, this task doesn't teach you anything. It's only time consuming....
package com.codegym.task.task03.task0306;

/*
Parenthetical brainteaser

*/

public class Solution {
    public static void main(String[] args) {
        System.out.println(1 + 2 * (3 + 4 * (5 + 6 * 7)) + (8 * (9 + 10)));
    }
}