Problem:


Score : 100 points

Problem Statement

You are given two integers a and b.
Determine if a+b=15 or a\times b=15 or neither holds.

Note that a+b=15 and a\times b=15 do not hold at the same time.

Constraints

1 \leq a,b \leq 15

All values in input are integers.

Input

Input is given from Standard Input in the following format:

a b

Output

If a+b=15, print +;
if a\times b=15, print *;
if neither holds, print x.

Sample Input 1

4 11

Sample Output 1

+

4+11=15.

Sample Input 2

3 5

Sample Output 2

*

3\times 5=15.

Sample Input 3

1 1

Sample Output 3

x

1+1=2 and 1\times 1=1, neither of which is 15.



Sample input:
4 11


Sample output:
+

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a*b==15:
  print("*")
elif a+b==15:
  print("+")
else:
  print("x")

Submission status: Accepted

Solution code:
a,b = [int(x) for x in input().split()]
if(a+b == 15):
  print('+')
elif(a*b == 15):
  print('*')
else:
  print('x')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a + b == 15: print('+')
elif a * b == 15: print('*')
else: print('x')

Submission status: Accepted

Solution code:
x,y = map(int,input().split())

if(x+y==15):
    print("+")
elif(x*y==15):
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a,b=map(int,input().split());print("x+*"[(a+b==15)+2*(a*b==15)::3])

Submission status: Accepted

Solution code:
def main():

    a, b = map(int, input().split())
    if a + b == 15: return "+"
    if a * b == 15: return "*"
    return "x"

if __name__ == '__main__':
    print(main())

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a+b == 15:
  print("+")
elif a*b == 15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
s=input();print("".join(c*(eval(s.replace(" ",c))==15)for c in"+*")or"x")

Submission status: Accepted

Solution code:
# soundhound2018-summer-qualA - F
def main():
    a, b = map(int, open(0).read().split())
    if a + b == 15:
        print("+")
    elif a * b == 15:
        print("*")
    else:
        print("x")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:

a,b = map(int,input().split())
if a + b == 15:
    print('+')
elif a*b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
if a+b == 15:
    print('+')
elif a*b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

a, b = map(int, input().split())

# print(a)
# print(b)

if a + b == 15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
def solve(a, b):
    if a + b == 15:
        return "+"
    elif a * b == 15:
        return "*"
    else:
        return "x"

a, b = map(int, input().split())
print(solve(a, b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print('+' if a+b==15 else '*' if a*b==15 else 'x')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print("+" if a + b == 15 else "*" if a * b == 15 else "x")

Submission status: Accepted

Solution code:
a, b = [ int(v) for v in input().split() ]
if a * b == 15:
  print("*")
elif a + b == 15:
  print("+")
else:
  print("x")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if a+b==15:
	print("+")
elif a*b==15:
	print("*")
else:
	print("x")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

if a+b==15:
    print('+')
elif a*b==15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
def main(a, b):
    if a + b == 15:
        return '+'
    elif a * b == 15:
        return '*'

    return 'x'


if __name__ == '__main__':
    a, b = map(int, input().split(' '))

    print(main(a, b))

Submission status: Accepted

Solution code:
a, b = [int(_) for _ in input().split()]

if a + b == 15:
    print("+")
elif a * b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a+b == 15:
    print("+")
elif a*b ==15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if a*b==15:print('*')
elif a+b==15:print('+')
else:print('x')

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

if a+b == 15:
    print("+")
elif a*b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
def main():
    a, b = map(int, input().split())
    if a+b == 15:
        print("+")
    elif a*b == 15:
        print("*")
    else:
        print("x")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a, b = [int(item) for item in input().split()]
if a + b == 15:
  print("+")
elif a * b == 15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
a = input().split(' ')
A = int(a[0])
B = int(a[1])
if A+B==15:print("+")
elif A*B==15:print("*")
else :print("x")

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

print(["x", "+", "*"][((A + B) == 15) - ((A * B) == 15)])

Submission status: Accepted

Solution code:
# soundhound2018-summer-qualA - F
def main():
    a, b = list(map(int, input().rstrip().split()))
    if a + b == 15:
        print("+")
    elif a * b == 15:
        print("*")
    else:
        print("x")


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

if a * b == 15:
    print("*")
elif a + b == 15:
    print("+")
else:
    print("x")

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
if a+b == 15:
    print("+")
elif a* b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a + b == 15:
    print('+')
    exit()
if a * b == 15:
    print('*')
    exit()
print('x')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

if a+b == 15:
    print('+')
elif a*b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if a+b==15:
  print("+")
elif a*b==15:
  print("*")
else:print("x")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a+b==15:print("+")
elif a*b==15:print("*")
else:print("x")

Submission status: Accepted

Solution code:
a,b= map(int,input().split())

if a+b==15:
    print("+")
elif a*b==15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a, b = [int(i) for i in input().split()]
if a+b == 15:
    print("+")
elif a*b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
import bisect
import os
from collections import Counter, deque
from fractions import gcd
from functools import lru_cache
from functools import reduce
import functools
import heapq
import itertools
import math
import numpy as np
import re
import sys

if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r")

sys.setrecursionlimit(2147483647)
INF = float("inf")

a, b = list(map(int, sys.stdin.readline().split()))
if a + b == 15:
    print('+')
elif a*b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
answer = 'x'
if a+b == 15:
  answer = '+'
elif a*b == 15:
  answer = '*'
print(answer)

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a+b==15 or a*b==15:
    if a*b==15:
        print("*")
    else:
        print("+")
else:
    print("x")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a+b == 15:
    print("+")
elif a*b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a+b == 15:
        print("+")
elif a*b == 15:
        print("*")
else:
        print("x")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

if a+b == 15 :
    ans = "+"
elif a*b == 15 :
    ans = "*"
else :
    ans = "x"

print(ans)

Submission status: Accepted

Solution code:
###template###
import sys
input = sys.stdin.readline
def mi(): return map(int, input().split())
###template###

a, b = mi()

if a+b==15: print('+')
elif a*b == 15: print('*')
else: print('x')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a + b == 15:
	print("+")
elif a * b == 15:
	print("*")
else:
	print("x")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
ans = "+" if a + b == 15 else "*" if a * b == 15 else "x"
print(ans)

Submission status: Accepted

Solution code:
a, b = map(int, input().split())


if a + b == 15:
    ans = "+"
elif a * b == 15:
    ans = "*"
else:
    ans = "x"


print(ans)

Submission status: Accepted

Solution code:
import math, string, itertools, fractions, heapq, collections, re, array, bisect, sys, copy, functools, random
from collections import deque, defaultdict, Counter; from heapq import heappush, heappop
from itertools import permutations, combinations, product, accumulate, groupby
from bisect import bisect_left, bisect_right, insort_left, insort_right
from operator import itemgetter as ig
sys.setrecursionlimit(10 ** 7)
inf = 10 ** 20; INF = float("INF"); ans = 0; tmp = 0; ansli = []; tmpli = []; candili = []
eps = 1.0 / 10 ** 10; mod = 10 ** 9 + 7
dd = [(-1, 0), (0, 1), (1, 0), (0, -1)]; ddn = dd + [(-1, 1), (1, 1), (1, -1), (-1, -1)]; ddn9 = ddn + [(0, 0)]
"""for dx, dy in dd:
        nx = j + dx; ny = i + dy
            if 0 <= nx < w and 0 <= ny < h:"""
def wi(): return list(map(int, sys.stdin.readline().split()))
def wip(): return [int(x) - 1 for x in sys.stdin.readline().split()]#WideIntPoint
def ws(): return sys.stdin.readline().split()
def i(): return int(sys.stdin.readline())
def s(): return input()
def hi(n): return [i() for _ in range(n)]
def hs(n): return [s() for _ in range(n)]#HeightString
def mi(n): return [wi() for _ in range(n)]#MatrixInt
def mip(n): return [wip() for _ in range(n)]
def ms(n): return [ws() for _ in range(n)]

a, b = wi()
if a + b == 15:
    print("+")
elif a * b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print('+' if a + b == 15 else '*' if a * b == 15 else 'x')

Submission status: Accepted

Solution code:
a,b=map(int,input().split());print("+"if a+b==15 else"*"if a*b==15else"x")

Submission status: Accepted

Solution code:
[a,b]=map(int,input().split())
if a*b==15:
  print("*")
else:
  if a+b==15:
    print("+")
  else:
    print("x")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a + b == 15:
    print("+")
elif a * b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())

m=a*b
n=a+b

if m==15:
  print("*")
elif n==15:
  print("+")
else:
  print("x")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a+b == 15:
    print('+')
elif a*b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if a+b == 15:
  print("+")
elif a*b == 15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print('+' if a+b==15 else '*' if a*b==15 else 'x')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if a+b==15:
  print('+')
elif a*b==15:
  print('*')
else:
  print('x')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print('+' if a+b==15 else '*' if a*b==15 else 'x')

Submission status: Accepted

Solution code:
a,b=map(int,input().split(' '))
print('+') if a+b==15 else print('*') if a*b==15 else print('x')

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
ans = "x"
if(a+b == 15):
  ans = "+"
elif(a*b == 15):
  ans = "*"
print(ans)

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
d = "x"
if a+b == 15:
  d = "+"
elif a*b == 15:
  d = "*"
print(d)

Submission status: Accepted

Solution code:
a, b = [ int(x) for x in input().split() ]

if a + b == 15:
    ans = "+"
elif a * b == 15:
    ans = "*"
else:
    ans = "x"

print(ans)

Submission status: Accepted

Solution code:
a , tb = map(int, input().split()) 
if a+tb == 15:
  print("+")
elif a*tb == 15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

if a * b == 15:
    print('*')
elif a + b == 15:
    print('+')
else:
    print('x')

Submission status: Accepted

Solution code:
a,b=map(int,input().split());print('x+*'[(a+b==15)-(a*b==15)])

Submission status: Accepted

Solution code:
from sys import stdin
a,b=[int(x) for x in stdin.readline().rstrip().split()]
if a+b == 15:
    print("+")
elif a*b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a, b = [int(x) for x in input().split()]

if a + b == 15:
  print('+')
elif a * b == 15:
  print('*')
else:
  print('x')

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a*b == 15:
  print("*")
elif a+b == 15:
  print("+")
else:
  print("x")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
a, b = map(int, input().split())
print('+' if a + b == 15 else '*' if a * b == 15 else 'x')

Submission status: Accepted

Solution code:
a,b = (int(i) for i in input().split())
if a+b == 15 :print('+')
elif a*b == 15:print('*')
else: print('x')

Submission status: Accepted

Solution code:
a, b = list(map(int, input().split()))
if (a + b == 15):
  print("+")
elif (a * b == 15):
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print("*"if a*b==15else("+"if a+b==15else"x"))

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
if a+b == 15:
  print("+")
elif a * b == 15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

if a*b==15:
  print("*")
elif a+b==15:
  print("+")
else:
  print("x")

Submission status: Accepted

Solution code:
a, b = map(int, input().split(" "))
if a+b == 15:
  print("+")
elif a*b == 15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
a, b = [int(_) for _ in input().split()]
if a + b == 15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a,b=map(int,input().split());print('x+*'[(a+b==15)+2*(a*b==15)])

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a+b == 15 :
    ans = "+"
elif a*b == 15 :
    ans = "*"
else :
    ans = "x"
print(ans)

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

if A+B == 15:
  print("+")
elif A*B == 15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if a+b==15:print('+')
elif a*b==15:print('*')
else:print('x')

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
if a+b == 15:
    print("+")
elif a*b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a,b=map(int,raw_input().split())
if a+b==15:
	print "+"
elif a*b==15:
	print "*"
else:
	print "x"

Submission status: Accepted

Solution code:
x, y = map(int, input().split())
if x + y == 15:
    print('+')
elif x * y == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
A - F
https://beta.atcoder.jp/contests/soundhound2018-summer-qual/tasks/soundhound2018_summer_qual_a

"""
import sys
from sys import stdin
input = stdin.readline


def main(args):
    a, b = map(int, input().split())
    if a + b == 15:
        print('+')
    elif a * b == 15:
        print('*')
    else:
        print('x')


if __name__ == '__main__':
    main(sys.argv[1:])

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if (a+b == 15):
  print('+')
elif (a*b == 15):
  print('*')
else:
  print('x')

Submission status: Accepted

Solution code:
def ip():
    return int(input())
    
def ipp():
    return map(int,input().split())
    
def sar():
    return list(ipp())
    
def pars(a):
    print(''.join(list(map(str, a))))
    print('\r')
    
def parl(a):
    print('\r'.join(list(map(str, a))))
    print('\r')
    
#template ends   

if __name__=='__main__':
    T=1
    #T=int(input().strip())
    for _ in range(T):
        a,b = ipp()
        if a+b == 15:
            print('+')
        elif a*b==15:
            print('*')
        else:
            print('x')

Submission status: Accepted

Solution code:
a, b = [int(i) for i in input().split()]
if a + b == 15:
  ans = '+'
elif a * b == 15:
  ans = '*'
else:
  ans = 'x'
print(ans)

Submission status: Accepted

Solution code:
a = input().split(' ')
a = [int(i) for i in a]

if (a[0] * a[1] == 15):
	print ('*')
	
elif (a[0] + a[1] == 15):
	print("+")
	
else:
	print ("x")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if(a+b==15):
    print("+")
elif(a*b==15):
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

if(A+B==15):
    print("+")
elif(A*B==15):
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
A,B = map(int, input().split())
if(A+B==15):
    print("+")
elif(A*B==15):
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
A, B = map(int, input().split())
if(A+B==15):
    print("+")
elif(A*B==15):
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
# coding: UTF-8
num = (raw_input("")).split()
x = (int(num[0]) * int(num[1]))
y = (int(num[0]) + int(num[1]))
if x == 15:
    print "*"
elif y == 15:
    print "+"
else:
    print "x"

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
for op in ('+', '*'):
    f = str(a) + op + str(b)
    if eval(f) == 15:
        print(op)
        exit()
print('x')

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

if(A+B==15):
  print('+')
elif(A*B==15):
  print('*')
else:
  print('x')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a + b == 15:
    print("+")
    exit()
elif a * b == 15:
    print("*")
    exit()
else:
    print("x")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

if a + b == 15 and 1 <= a <=15 and 1 <= b <=15:
    print('+')
elif  a * b == 15 and 1 <= a <=15 and 1 <= b <=15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
def main():
    a, b = map(int, input().split())

    if a + b == 15:
        print("+")
    elif a * b == 15:
        print("*")
    else:
        print("x")


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

if a+b == 15:
    print('+')
elif a*b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a,b = list(map(int, input().split()))

if a+b == 15:
    print("+")
elif a*b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a, b = map(int, input().split(' '))
if a + b == 15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a,b = input().split()
a = int(a)
b = int(b)

if a + b == 15:
  print('+')
elif a * b == 15:
  print('*')
else:
  print('x')

Submission status: Accepted

Solution code:
[a, b] = map(int, input().split())
if a+b == 15:
  print("+")
elif a*b == 15:
  print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a+b==15 : print("+")
if a*b==15 : print("*")
if a+b!=15 and a*b!=15 : print("x")

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
if a+b==15:
  print('+')
  
elif a*b==15:
  print('*')

else:
  print('x')

Submission status: Accepted

Solution code:
a,b = (int(i) for i in input().split())
if a+b==15: print("+")
elif a*b==15: print("*")
else: print("x")

Submission status: Accepted

Solution code:
a,b = map(int, input().split())

if(a+b ==15):
    print("+")
elif(a*b == 15):
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
if a+b == 15:
	print('+')
elif a*b == 15:
	print('*')
else:
	print('x')

Submission status: Accepted

Solution code:
a,b = map(int,raw_input().split())
if a + b == 15:
    print("+")
elif a * b  == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a, b = (int(i) for i in input().split())

if a + b == 15:
    print("+")

elif a * b == 15:
    print("*")

else:
    print("x")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if (a+b) == 15:
  print("+")
elif (a*b) == 15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
x = tuple(int(i) for i in input().split(" "))

if x[0] + x[1] == 15:
    print("+")

elif x[0] * x[1] == 15:
    print("*")
    
else:
    print("x")

Submission status: Accepted

Solution code:
def main():
    a, b = map(int, input().split())
    if a+b == 15:
        return "+"
    elif a*b == 15:
        return "*"
    else:
        return "x"

if __name__ == '__main__':
    print(main())

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a * b == 15:
    print("*")
elif a + b == 15:
    print("+")
else:
    print("x")

Submission status: Accepted

Solution code:
a,b = map(int,input().split(" "))
if a+b==15:
  print("+")
elif a*b==15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
# coding: utf-8

a, b = map(int, input().split())

if a + b == 15:
    print("+")
elif a * b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a, b = [int(i) for i in input().split()]
if a + b == 15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
 
if a + b == 15:
  print('+')
elif a * b == 15:
  print('*')
else:
  print('x')

Submission status: Accepted

Solution code:
a, b = list(map(int, input().split()))

if a+b == 15:
    print('+')
elif a*b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a, b = list(map(int, input().split()))

if a + b == 15:
    print("+")
    exit()
if a * b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:

a,b = map(int,input().split())

if a+b==15:
    print("+")

elif a*b==15:
    print("*")

else:
    print("x")

Submission status: Accepted

Solution code:
a, b = [int(i) for i in input().split()]

if a + b == 15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

# スペース区切りの整数の入力
a,b = map(int, raw_input().split())

if a+b==15:
	print '+'
elif a*b==15:
	print '*'
else:
	print 'x'

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

if a+b==15:
	print('+')
elif a*b==15:
	print('*')
else:
	print('x')

Submission status: Accepted

Solution code:
a,b = map(int, raw_input().split())
if a + b == 15:
  print '+'
elif a * b == 15:
  print '*'
else:
  print 'x'

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a+b==15:
  print("+")
elif a*b==15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
# input
a, b = map(int, input().split())

if a + b == 15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
# coding: utf-8
s = input().split()
a = int(s[0])
b = int(s[1])
#print(a,b)
if a + b == 15:
  print("+")
elif a * b == 15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

if (a + b == 15):
    print('+')
elif (a * b == 15):
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a*b == 15:
  print("*")
elif a+b == 15:
  print("+")
else:
  print("x")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if a+b==15:
  print('+')
elif a*b == 15:
  print('*')
else:
  print('x')

Submission status: Accepted

Solution code:
a, b= map(int, input().split())

if a*b == 15:
    print("*")
elif a+b == 15:
    print("+")
else:
    print("x")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-


if __name__ == '__main__':
    a, b = list(map(int, input().split()))

    if a + b == 15:
        print('+')
    elif a * b == 15:
        print('*')
    else:
        print('x')

Submission status: Accepted

Solution code:
a, b = map(int,input().split())

if (a*b) == 15:
    print("*")
elif (a+b) == 15:
    print("+")
else :
    print("x")

Submission status: Accepted

Solution code:
def getinputdata():

    # 配列初期化
    array_result = []
    
    data = input()
    
    array_result.append(data.split(" "))

    flg = 1

    try:

        while flg:

            data = input()
            if(data != ""):
                
                array_result.append(data.split(" "))

            else:

                flg = 0
    finally:

        return array_result

arr_data = getinputdata()

a= int(arr_data[0][0])
b= int(arr_data[0][1])

if a*b==15:
    
    print("*")
elif a+b==15:
    print("+")
else:
    print("x")

Submission status: Accepted

Solution code:
ab = [int(i) for i in input().split()]
a, b = ab[0], ab[1]

ans = 'x'
if a + b == 15:
    ans = '+'
elif a * b == 15:
    ans = '*'

print(ans)

Submission status: Accepted

Solution code:
a,b=map(int, input().split())
if a+b==15:print('+')
elif a*b==15: print('*')
else:print('x')

Submission status: Accepted

Solution code:
a, b = [int(i) for i in input().split()]
if a*b == 15:
    print("*")
elif a+b == 15:
    print("+")
else:
    print("x")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print("+"if a+b==15 else"*"if a*b==15 else"x")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
print("+"if a+b==15 else("*"if a*b==15 else"x"))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())

if a+b == 15:
    print('+')
elif a*b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a, b = [int(i) for i in input().split()]

if a + b == 15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a,b = map(int, input().split())

if a + b ==15:
  print("+")
elif a * b == 15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
a, b = input().split(" ")
a = int(a)
b = int(b)
if a+b==15:
    print("+")
elif a*b==15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a, b = map(int,input().split())

if a + b == 15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a,b = [int(i) for i in input().split()]

if a+b == 15:
    print('+')
elif a*b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a, b = list(map(int, input().split()))

if a + b == 15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a,b=map(int, input().split())
if a + b == 15:
    print("+")
elif a * b == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print("+" if a + b == 15 else "*" if a * b == 15 else "x")

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if a+b == 15:
    print('+')
elif a*b== 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a, b = (int(i) for i in input().split())
if a+b==15:
  print('+')
elif a*b == 15:
  print('*')
else:
  print('x')

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if(a+b==15):
    print('+')
elif(a*b==15):
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a, b = map(int,input().split())

if(a + b == 15):
  print("+")
elif(a * b == 15):
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
a,b = map(int,input().split(' '))
if a + b == 15:
    print('+')
elif a * b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a, b = map(int,input().split())
if a+b == 15:
  print("+")
elif a*b == 15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
a, b = map(int, raw_input().split(' '))

if a*b == 15:
    print '*'
elif a+b == 15:
    print '+'
else:
    print 'x'

Submission status: Accepted

Solution code:
from sys import stdin
a,b = map(int,stdin.readline().split())
if a*b==15:
 print '*'
elif a+b==15:
 print '+'
else:
 print 'x'

Submission status: Accepted

Solution code:
n,m=map(int,input().split())
if n+m != 15 and n*m != 15:
    print('x')
else:
    print('+' if n+m == 15 else '*')

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if (a+b) == 15:
  print("+")
elif (a*b) == 15:
  print("*")
else:
  print("x")

Submission status: Accepted

Solution code:
a,b = [int(i) for i in input().split()]
if a+b == 15:
    print('+')
elif a*b == 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
N = input().split(" ")
a = int(N[0])
b = int(N[1])
if a + b== 15:
    print('+')
elif a * b== 15:
    print('*')
else:
    print('x')

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if a + b == 15:
 print("+")
elif a * b == 15:
 print("*")
else:
 print("x")

Submission status: Accepted

Solution code:
a,b = list(map(int,input().split()))

if a*b == 15:
	print('*')
elif a+b == 15:
	print('+')
else:
	print('x')

Submission status: Accepted

Solution code:
a,b=(int(i) for i in input().split(" "))
if a+b==15:
 print("+")
elif a*b==15:
 print("*")
else:
 print("x")

Submission status: Accepted

Solution code:
a,b = map(int, input().split())
if a+b == 15: print('+')
elif a*b == 15: print('*')
else:           print('x')

Submission status: Accepted

Solution code:
a, b = [int(x) for x in input().split()]
if a + b == 15:
	print('+')
elif a * b == 15:
	print('*')
else:
	print('x')

Submission status: Accepted

Solution code:
def hantei(a, b):
    if a+b==15:
        print("+")
    elif a*b==15:
        print("*")
    else: print("x")

num=[int(i) for i in input().split()]
hantei(num[0], num[1])

Submission status: Accepted

Solution code:
[a,b]=[int(i) for i in input().split()]
if a*b==15:
    print("*")
elif a+b==15:
    print("+")
else:
    print("x")

Submission status: Accepted

Solution code:
a, b = map(int,raw_input().split(' '))
if a + b == 15:
   print '+'
elif a*b == 15:
   print '*'
else:
  print 'x'

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

t = list(map(int, input().split()))
if t[0] + t[1] == 15:
    print('+')
elif t[0] * t[1] == 15:
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
n = list(map(int, input().split()))
if(n[0] + n[1] == 15):
    print("+")
elif(n[0] * n[1] == 15):
    print("*")
else:
    print("x")

Submission status: Accepted

Solution code:
n = input().split() # "1 2 3"と入力

a = n[0]
b = n[1]

if int(a) * int(b) == 15:
    print("*")
elif int(a) + int(b) == 15:
    print("+")
else:
    print("x")

Submission status: Accepted

Solution code:
a = input()
b = a.split()

if(int(b[0]) + int(b[1]) == 15):
    print('+')
elif(int(b[0]) * int(b[1]) == 15):
    print('*')
else:
    print('x')