class Solution(object):
	def isSubsequence(self, s, t):
		"""
		:type s: str
		:type t: str
		:rtype: bool
		"""
		i=j=0
		while i<len(s) and j<len(t):
			if s[i]==t[j]:
				i+=1
				j+=1
			else:
				j+=1
		return True if i==len(s) else False